.header
	.right
		=link_to "modifier", edit_admin_menu_item_path(@menu_item), :remote => true,:class => "button"
		=link_to "Masquer", "#", :onclick => "$('#edit_pane').toggle();if($(this).html()=='Masquer'){$(this).html('Voir')}else{$(this).html('Masquer')};return false;", :id => "#edit_pane_toggle", :class => "button"
	
	%h1 
		%span.menu_item_name=@menu_item.name
	

	

#edit_pane=render :partial => "show"

-if @menu_item.menu_content_type == "Page"
	=auto_load_div(eval("edit_admin_#{@menu_item.menu_content_type.tableize.singularize}_path(@menu_item.menu_content)"))
