Dear All,

I have a input element in my application.

%input#pending{:type => 'checkbox', :name => 'status[]', :value => 'pending', 
:checked => 'checked'}

I want to control it with params. The aim is to display it only if params 
contain the relative  value. How do I do this in haml? Thanks in advance.

Best regards,
Zhi-Qiang Lei
[email protected]

-- 
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