Sha256: 01f7a309f2c7b6da24908c2dabbcce88d2db9a5fbc1c067f3be3702d042273e8
Contents?: true
Size: 637 Bytes
Versions: 3
Compression:
Stored size: 637 Bytes
Contents
= content_tag :li, :class => "index-item #{menu.nestable}", "data-id" => item.id do %div %span.handle .clearfix{:style => "float:right"} = link_to "", item, :confirm => 'Are you sure?', :method => :delete, :class => 'ui-icon ui-icon-close destroy tip', :title => "Destroy This Item" = link_to item.title, edit_dust_menu_item_path(item, :return => request.path, :menu_id => menu.id), :class => 'ui-icon ui-icon-pencil edit tip', :title => "Edit This Item" = content_tag :ul do - item.children.each do |child| = render "dust/menu_items/tree", :item => child, :menu => menu - end unless item.leaf?
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
dust-cms-0.0.07 | app/views/dust/menu_items/_tree.html.haml |
dust-cms-0.0.06 | app/views/dust/menu_items/_tree.html.haml |
dust-cms-0.0.05 | app/views/dust/menu_items/_tree.html.haml |