= semantic_form_for [:admin,@sejour], :remote => true do |form| 
  .content
    = form.inputs do 
      =form.input :image_file_id, :as => :qi_image_select, :label => "Image :"
      = form.input :title, :label => "Titre :" 

      =# form.input :slug, :label => "Slug :"   
      
      = form.input :content, :label => "Description courte :", :as => :text
      
      =form.input :saisons, :label => "Saisons", :as => :check_boxes
      
      
      %p= link_to_add_fields "Ajouter une date", form, :sejour_dates

      = form.inputs do 

        .sejour_dates_form
          =form.semantic_fields_for :sejour_dates do |f|
            =render :partial => "admin/sejour_dates/form", :locals => {:form => f}
      
      

    
  .actions
    = form.submit "Sauvegarder", :class => "btn btn-primary"
