=semantic_form_for [:admin, @tva_rate], :remote => true do |f| .content =f.inputs do = f.input :enabled, :label => "Actif ?" = f.input :name, :label => "Nom :" = f.input :description, :label => "Description :" = f.input :accounting_zone_id, :label => "Zone :", :collection => AccountingZone.all, :as => :select, :include_blank => false = f.input :rate, :label => "Taux :" = f.input :purchase_account, :label => "Compte achat :" = f.input :sale_account, :label => "Compte vente :" .actions=f.submit "sauvegarder", :class => "btn btn-primary"