.header
	%h1 Gestion de la page d'accueil
	
.QI_background_middle_alt1.QI_padding.QI_font_alt1.QI_color_white
	.right.QI_font
		=link_to "ajouter un slide", new_admin_slide_path(:slider_id => @home.slider.id), :remote => true, :class => "button"
	%h2 Slides
.clear
.grid_12
	
	#slides
		=render @home.slider.slides
		
.clear

.QI_background_middle_alt1.QI_padding.QI_font_alt1.QI_color_white
	%h2 Blocs

.grid_6	
	%h3 Bloc de gauche
	#left_block
		=render @home.home_blocks.find_by_slug("left_block")
.grid_6	
	%h3 Bloc de droite
	#right_block
		=render @home.home_blocks.find_by_slug("right_block")
.clear

.QI_background_middle_alt1.QI_padding.QI_font_alt1.QI_color_white
	.right.QI_font
		=link_to "modifier", edit_admin_home_page_path(@home), :remote => true, :class => "button"
	
	%h2 Promotions
.clear
#home_page_show=render :partial => "show"