Sha256: e785b2472742d873e05698c1d941c0443317b013c57b8276ace2c61351cde791

Contents?: true

Size: 805 Bytes

Versions: 42

Compression:

Stored size: 805 Bytes

Contents

<%=content_for :data_controls do%>
<%=link_to "New Menu",new_spud_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,spud_admin_menu_menu_items_path(:menu_id => menu.id)%></span>

					<span class="edit_controls">
						<%=link_to "Edit",edit_spud_admin_menu_path(:id => menu.id),:class => 'btn'%>
						<%=link_to "Remove",spud_admin_menu_path(:id => menu.id),:method => :delete,:class => 'btn btn-danger',: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

42 entries across 42 versions & 2 rubygems

Version Path
spud_cms-0.9.7 app/views/spud/admin/menus/index.html.erb
spud_cms-0.9.6 app/views/spud/admin/menus/index.html.erb
spud_cms-0.9.5 app/views/spud/admin/menus/index.html.erb
spud_cms-0.9.4 app/views/spud/admin/menus/index.html.erb
spud_cms-0.9.3 app/views/spud/admin/menus/index.html.erb
spud_cms-0.9.2 app/views/spud/admin/menus/index.html.erb
spud_cms-0.9.1 app/views/spud/admin/menus/index.html.erb
spud_cms-0.9.0 app/views/spud/admin/menus/index.html.erb
spud_cms-0.8.15 app/views/spud/admin/menus/index.html.erb
spud_cms-0.8.14 app/views/spud/admin/menus/index.html.erb
spud_cms-0.8.13 app/views/spud/admin/menus/index.html.erb
spud_cms-0.8.12 app/views/spud/admin/menus/index.html.erb
spud_cms-0.8.11 app/views/spud/admin/menus/index.html.erb
spud_cms-0.8.10 app/views/spud/admin/menus/index.html.erb
spud_cms-0.8.9 app/views/spud/admin/menus/index.html.erb
spud_cms-0.8.7 app/views/spud/admin/menus/index.html.erb
spud_cms-0.8.6 app/views/spud/admin/menus/index.html.erb
spud_cms-0.8.5 app/views/spud/admin/menus/index.html.erb
spud_cms-0.8.4 app/views/spud/admin/menus/index.html.erb
spud_cms-0.8.2 app/views/spud/admin/menus/index.html.erb