Is there a way to do what I'm trying to do here that preserves the
"SimplyHelpful" auto-id-and-class stuff and also conditionally adds a
class?
%div{:class => condition ? "selected" : ""}[item]
I can't figure out a way to do it cleanly without resorting to
generating the default id and class manually.
Cheers,
Sean
p.s. RadiantCMS now has Sass:
http://dev.radiantcms.org/radiant/browser/trunk/extensions/sass_filter
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---