mirror of
https://github.com/haml/haml.git
synced 2022-11-09 12:33:31 -05:00
5 lines
No EOL
194 B
Text
5 lines
No EOL
194 B
Text
- @nesting -= 1
|
|
.partial{:level => @nesting}
|
|
%h3 This is a crazy deep-nested partial.
|
|
%p== Nesting level #{@nesting}
|
|
= render :partial => 'haml/templates/av_partial_2_ugly' if @nesting > 0 |