=semantic_form_for [:admin, @ingredient], :remote => true do |f| .content =f.inputs do = f.input :name, :label => "Nom :" =# f.input :i_type, :label => "i_type :" =# f.input :public, :label => "public :" .actions=f.submit "sauvegarder", :class => "btn btn-primary"