=semantic_form_for [:admin, @s_site], :remote => true do |f| .content =f.inputs do = f.input :name, :label => "Nom :" = f.input :description, :label => "Description :" = f.input :externe, :label => "externe ?" = f.input :s_site_type_id, :label => "Type de site :", :collection => SSiteType.order(:name).all, :as => :select .actions=f.submit "sauvegarder", :class => "btn btn-primary"