How's your html-fu? You can write pure HTML radio buttons and drop
them into the middle of your DRYML. If you need to parameterize it a
little bit, just use a minimal amount of ERB rather than writing a DRYML
tag. Knowing HTML & ERB is essential for hobo-fu, so it won't be wasted
effort.
Once you've got it working the "pure Rails" way, we can certainly help
you turn it into a DRYML tag that everybody can use. We can help you
you get to that stage too, but small steps are the best way to learn
something.
Bryan
On 11-03-28 09:52 AM, simple_n00b wrote:
Thanks Mark, That is currently beyond the scope of my hobo-fu.
Is there a reference somewhere that would show me how to create a new
tag, and where to find the method that a tag uses to generate the
html, etc?
On Mar 28, 8:18 am, Mark Sobkowicz<[email protected]> wrote:
The code for<select-one> is in the gem, and also in the manual
http://cookbook.hobocentral.net/api_tag_defs/select-one
You could modify this and make your own<select-one-with-buttons> tag.
On Mar 28, 2011, at 7:11 AM, Piotroslav wrote:
There is no radio buttons in hobo out of the box.
I was advised to create them myself.- Hide quoted text -
- Show quoted text -
--
You received this message because you are subscribed to the Google Groups "Hobo
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/hobousers?hl=en.