compass/doc-src/layouts/partials/sidebar/item.haml

5 lines
207 B
Plaintext
Raw Normal View History

2010-11-04 06:09:19 +00:00
- classes = [("selected" if @selected), ("deprecated" if @current_item[:deprecated])].compact.join(" ")
%li{:class => classes}
%a{:href => default_path(@current_item), :class => classes}
%span= @crumb