.header
  %h1 Gestion de la page d'accueil
  
-if false
  .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_12  
  %h3 Dossier du mois
  #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"