is it possible to insert ruby code as the class or id of an element?

for example, something like...

%div#main.#{controller_name}

that would render

<div class="controllerName" id="main"></div>

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