= semantic_form_for [:admin,@slide], :remote => true do |form| .content = form.inputs do = form.input :slider_id, :as => :hidden = form.input :title, :label => "Titre :" = form.input :description, :label => "Description courte :", :as => :text, :class => "text_editor" = form.input :image_file_id, :label => "Image :" , :as => :qi_image_select = form.input :cible, :label => "Cible :" , :as => :qi_cible_select .actions = form.submit "Sauvegarder"