18 lines
767 B
Plaintext
18 lines
767 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 :"
|
|
= f.input :sale_product_account, :label => "Compte vente (produits) :"
|
|
|
|
|
|
|
|
=render :partial => "qi/actions", :locals => {:f => f}
|
|
/.actions=f.submit "sauvegarder", :class => "btn btn-primary"
|
|
|