Merge pull request #98 from balkansalat/rails3-stock-taking-article-name

Prevent article name from being truncated in StockTaking form
This commit is contained in:
bennibu 2013-03-17 11:41:32 -07:00
commit 033d3459a0

View file

@ -3,5 +3,5 @@
= form.hidden_field :stock_article_id
= "Menge (#{stock_change.stock_article.quantity_available})"
= form.text_field :quantity, :size => 5, :autocomplete => 'off'
%b=h truncate(stock_change.stock_article.name)
%b= stock_change.stock_article.name
= "(#{number_to_currency(stock_change.stock_article.price)} / #{stock_change.stock_article.unit})"