.home_slider_slide.home_slider_slide_css#home_slider_slide{:id => home_slider_slide.id, :data => {:id => home_slider_slide.id}, :class => ("active" if home_slider_slide.enabled)}
  -if home_slider_slide.image_file
    =image_tag home_slider_slide.image_file.file.url, :style => "height:200px;"
  
  -if home_slider_slide.start_at?
    %p
      Début d'affichage :
      =l home_slider_slide.start_at
      
  -if home_slider_slide.end_at?
    %p
      Fin d'affichage :
      =l home_slider_slide.end_at
  -if home_slider_slide.url?
    =link_to home_slider_slide.url, home_slider_slide.url, :target => "_blank"
  %p
    -home_slider_slide.lang_sites.each do |lang_site|
      =lang_site.name
  
  .actions
    = link_to i(:"trash-o"), [:admin, home_slider_slide], method: :delete, data: { confirm: 'Voulez-vous vraiment supprimer ce slider ?' }, :remote => true
    = link_to i(:pencil), edit_admin_home_slider_slide_path(home_slider_slide), :remote => true
  