Re:I Heart SASS, But HAML, I'm Just Not That In To You
by snprbob86 on Wednesday May 04, 2011 @04:16PM
(#2515130)
Conditional nesting is pretty easy using the "capture" method:
Personally, I prefer this over duplicating the condition:
However, you can trivially abstract my first example out into a helper and result in code looking like this:
Much nicer looking, in my opinion. I don't consider this a workaround at all.
[ Parent
| on HN ]
There are no comments on this comment yet.