2009-01-16 02:17:49 +01:00
|
|
|
%p
|
|
|
|
- fields_for "delivery[stock_change_attributes][]", stock_change do |form|
|
2009-02-06 16:26:35 +01:00
|
|
|
= form.hidden_field :stock_article_id
|
2009-01-16 02:17:49 +01:00
|
|
|
Menge
|
|
|
|
= form.text_field :quantity, :size => 5, :autocomplete => 'off'
|
2009-02-06 16:26:35 +01:00
|
|
|
- article = stock_change.stock_article
|
|
|
|
%b= article.name
|
|
|
|
= "(#{number_to_currency(article.price)} / #{article.unit})"
|