= semantic_form_for [:admin, @home_block], :remote => true do |form| = form.inputs do = form.input :title, :label => "Title :" = form.input :description,:as => :text , :label => "Description :" = form.input :cible, :label => "Cible :" , :as => :qi_cible_select = form.buttons do = form.commit_button "Sauvegarder"