engine/app/cells/locomotive/main_menu/show.html.haml

9 lines
252 B
Plaintext

%ul#menu
- @list.each_with_index do |item, index|
- index += 1
%li{ :class => "item #{'first' if index == 1} item-#{index} #{item[:class]}" }
%span
= link_to item[:url] do
%em  
%span= item[:label]
%li.clear