There are various solutions to be found for Haml checkbox
implementations, such as:
a) = check_box_tag
b) = check_box()
c) %input{:type =>
Which is the better option to use with bound data?
I've tried them all, and although I managed to update the database,
the conversion from the data to a ticked or blank checkbox is not
working (eg. the tickbox is not representing the database value, which
is either 1 or 0).
Just to clarify, the checkboxes do not have to be created dynamically
from another table.
much appreciated,
Johan
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Haml" 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/haml?hl=en
-~----------~----~----~----~------~----~------~--~---