.header
	.right
		=link_to "modifier", edit_admin_folder_path(@folder), :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 Modifier un dossier
	
	
#edit_pane=render :partial => "show"

.header_2

	%h3

		=link_to @folder.block.block_name, admin_block_path(@folder.block), :data_div_id => "Folder_"+@folder.id.to_s+"_blocks_part", :class => "update_auto_load_div "+("selected" if !params[:tab]).to_s
		
		=link_to "Articles", admin_articles_path(:folder_id => @folder.id), :data_div_id => "Folder_"+@folder.id.to_s+"_blocks_part", :class => "update_auto_load_div"+("selected" if params[:tab]).to_s
	
			
=auto_load_div((params[:tab] ? admin_articles_path(:folder_id => @folder.id) : admin_block_path(@folder.block)),"Folder_"+@folder.id.to_s+"_blocks_part")