Mislav:
> Your question is not about Haml at all. It's more about your model and view
> helpers of the framework you use.

Sure, now that you mention it.

> I guess you use Rails and ActiveRecord, so the solution would be:

I'm actually using Merb & Datamapper, but you've pointed me in the
right direction.

> - form_for @model do |f|
>   = f.check_box(:foo)
>
> Nothing fancy, just that.

I'll give it a try, thanks.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to