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'%>&nbsp;&nbsp;<%=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

Version Path
spud_cms-1.0.0.rc1.4 app/views/spud/admin/menu_items/_menu_item_row.html.erb
spud_cms-1.0.0.rc1.3 app/views/spud/admin/menu_items/_menu_item_row.html.erb
spud_cms-1.0.0.rc1.2 app/views/spud/admin/menu_items/_menu_item_row.html.erb
spud_cms-1.0.0.rc1.1 app/views/spud/admin/menu_items/_menu_item_row.html.erb
spud_cms-1.0.0.RC1 app/views/spud/admin/menu_items/_menu_item_row.html.erb