17 lines
577 B
Plaintext
17 lines
577 B
Plaintext
=semantic_form_for [:admin, @line_stock], :remote => true do |f|
|
|
|
|
.content
|
|
=f.inputs do
|
|
= f.input :p_product_ref, :label => "p_product_ref :"
|
|
= f.input :description, :label => "description :"
|
|
= f.input :qte, :label => "qte :"
|
|
= f.input :price_ht, :label => "price_ht :"
|
|
= f.input :qte_available, :label => "qte_available :"
|
|
= f.input :qte_used, :label => "qte_used :"
|
|
|
|
|
|
|
|
|
|
=render :partial => "qi/actions", :locals => {:f => f}
|
|
/.actions=f.submit "sauvegarder", :class => "btn btn-primary"
|
|
|