Sha256: a9b90a7f29e6373603d2c215f1dcd0b19c5c6096f74fd5d57cb0951dbe0c1065
Contents?: true
Size: 1002 Bytes
Versions: 3
Compression:
Stored size: 1002 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-sm btn-link'%> <%=link_to spud_admin_menu_menu_item_path(:id => menu_item.id),:method => :delete,:class => 'btn btn-sm btn-danger', :data => {:confirm => "Are you sure you want to remove this menu item?"} do%> <span class="glyphicon glyphicon-trash"></span> <%end%> </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
3 entries across 3 versions & 1 rubygems