=semantic_form_for [:admin, @m_event], :remote => true do |f|

  .content
    =f.inputs do
      = f.input :m_event_type_title, :label => "Type d'évenement :", :collection => ["Ecole / Stage de pilotage", "Roulage encadré", "Roulage libre"] 
      = f.input :circuit, :label => "Circuit :", :member_label => :member_label
      = f.input :organisateur, :label => "Organisateur :", :member_label => :member_label
      = f.input :start_at, :label => "Date de début :", :as => :date
      = f.input :end_at, :label => "Date de fin :" , :as => :date
      = f.input :title, :label => "Titre :" 
      = f.input :link, :label => "Lien réservation :" 
      = f.input :description, :label => "Description :" 
      = f.input :image_file_id, :label => "Image :", :as => :qi_image_select
            
      
      
      
      
  .actions=f.submit "sauvegarder", :class => "btn btn-primary"
  