Your question is not about Haml at all. It's more about your model and view helpers of the framework you use.
I guess you use Rails and ActiveRecord, so the solution would be: - form_for @model do |f| = f.check_box(:foo) Nothing fancy, just that. On Tue, Feb 3, 2009 at 10:37, johan pretorius <[email protected]>wrote: > > There are various solutions to be found for Haml checkbox > implementations --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
