Sha256: fc2622bc15ea04476986eba65b7034001984c6bae12c9fc1718c6275fa0c3434
Contents?: true
Size: 933 Bytes
Versions: 5
Compression:
Stored size: 933 Bytes
Contents
<div class="page_row menu-item-row" data-menu-item-id="<%=menu_item.id%>"> <span class="row_meta"><%=prefix if defined? prefix%><%=link_to menu_item.name,edit_spud_admin_menu_menu_item_path(:id => menu_item.id)%></span> <span class="edit_controls"><%=link_to "Edit",edit_spud_admin_menu_menu_item_path(:id => menu_item.id), :title => "Edit Menu Item",:class => 'btn btn-small'%> <%=link_to "Remove",spud_admin_menu_menu_item_path(:id => menu_item.id),:method => :delete,:class => 'btn btn-small btn-danger', :data => {:confirm => "Are you sure you want to remove this menu item?"}%></span> <br style="clear:both;"/> </div> <ul class="menu_list subitem sortable connectedSortable"> <%if !menu_item.spud_menu_items.all.blank?%> <%menu_item.spud_menu_items.order(:menu_order).each do |menu_item|%> <li> <%=render :partial => 'menu_item_row',:locals => {:menu_item => menu_item}%> </li> <%end%> <%end%> </ul>
Version data entries
5 entries across 5 versions & 1 rubygems