= semantic_form_for [:admin,@event], :remote => true do |form| .content = form.inputs do = form.input :image_file_id, :label => "Image :" , :as => :qi_image_select = form.input :start_at, :label => "Date: ",:as => :qi_date_picker = form.input :title, :label => "Titre :" = form.input :slug, :label => "Slug :" = form.input :description, :label => "Description courte :", :as => :text .actions = form.submit "Sauvegarder", :class => "btn btn-primary"