

#menu_item_index_block
	
	#menu_items_breadcrumbs.QI_box_shadow
		= link_to 'Ajouter un élément au menu', new_admin_menu_item_path(:menu_id => @menu.id, :parent_id => params[:parent_id]), :class => "button add_menu_item_link"
		-if @menu_parent
		
	
			.receptable{:"data-parent_id" => "no-menu-selected"}=link_to "racine", admin_menu_items_path(:menu_id => @menu.id)
			.separate
				>
			-@menu_parent.ancestors.reverse.each do |menu_item|
				.ancest_menu_item.receptable{:"data-parent_id" => (@menu_parent.parent_id || "no-menu-selected")}
					=link_to menu_item.name, admin_menu_items_path(:menu_id => @menu.id, :parent_id =>menu_item.id)
				.separate
					>
			.actual=@menu_parent.name
		-else
			.receptable{:"data-parent_id" => "no-menu-selected"}
				racine
	
	
	#sortable_menu_item
		.receptable_position{:"data-position" => "1"}
		-if @menu_items.size > 0
			=render @menu_items
		-else
			.no_menu_items
				Il n'y a aucun éléments de menu actuellement.
