mmsc_app/app/views/admin/tva_rates/_form.html.haml
Nicolas Bally a6aa1f6074 Initial
2020-05-25 11:40:11 +02:00

18 lines
641 B
Plaintext

=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"