Thanks, Carl. It was a big assumption. This solution is a big help.
Carl Franks wrote:
2009/2/23 Ascii King <[email protected]>:
I have created a Checkboxgroup, but I cannot figure out how to place a class
in the SPAN tag that surrounds each option. The tags breakdown like this:
<div>
<span>
<span class="HowDoIGetHERE?">
<input>
<label>
</span>
</span>
</div>
[snip]
I know it
can be done.
That's quite an assumption!
However, this was quite an easy one to fix, so if you update to svn r1321
you can now pass a 'container_attributes' hashref for any item.
options:
- value: 1
label: Breakfast
container_attributes:
class: item-wrapper-class
Cheers,
Carl
_______________________________________________
HTML-FormFu mailing list
[email protected]
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu
_______________________________________________
HTML-FormFu mailing list
[email protected]
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu