Hi,
is there an Dryier way to write this with HAML ?
The difference concerns the line %tr{:style => "display :none;"}
- if status == :expected
%tr
%td Expected month
%td= f.date_select "expected_date", :order => [:month, :year]
- else
%tr{:style => "display :none;"}
%td Expected month
%td= f.date_select "expected_date", :order => [:month, :year]
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---