<% if login? -%>
<div id='a'>
<% else -%>
<div id='b'>
<% end -%>
<div id='c'>
I am c
</div>
</div>
- if login?
#a
#c
- else
#b
#c
is there any other ways to not repeat #c two times?
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
-~----------~----~----~----~------~----~------~--~---