foodsoft/app/views/deliveries/_stock_article_form.html.haml

15 lines
469 B
Text
Raw Normal View History

2012-10-17 20:45:52 +02:00
= simple_form_for stock_article, url: add_stock_article_supplier_deliveries_path(@supplier), remote: true,
validate: true do |f|
= f.hidden_field :supplier_id
= f.input :name
= f.input :unit
= f.input :note
= f.input :price
2013-06-06 17:58:02 +02:00
= f.input :tax, :wrapper => :append do
= f.input_field :tax
%span.add-on %
-# untested, because this view is currently not included (?)
= f.input :deposit
= f.association :article_category
2013-06-06 17:58:02 +02:00
= f.submit class: 'btn'