Sha256: 2b3337d718c30c272da4f9fc5c46474446497f3152cea6bf5ca1cb9104679067
Contents?: true
Size: 892 Bytes
Versions: 6
Compression:
Stored size: 892 Bytes
Contents
<% content_for :data_controls do%> <%= link_to "New Menu",new_admin_menu_path(),:class => "btn btn-primary",:title => "New Menu" %> <% end %> <%=content_for :detail do%> <div class="page_list"> <%@menus.each do |menu|%> <div class="page_row"> <span class="row_meta"><%=link_to menu.name,admin_menu_menu_items_path(:menu_id => menu.id)%></span> <span class="edit_controls"> <%=link_to "Edit",edit_admin_menu_path(:id => menu.id),:class => 'btn'%> <%=link_to 'Items', admin_menu_menu_items_path(:menu_id => menu.id), :class => 'btn' %> <%=link_to "Remove",admin_menu_path(:id => menu.id),:method => :delete,:class => 'btn btn-danger', :data => {:confirm => "Are you sure you want to remove this menu and all items associated with it?"}%> </span> <br style="clear:both;"/> </div> <%end%> <%=will_paginate @menus%> </div> <%end%>
Version data entries
6 entries across 6 versions & 1 rubygems