From 396e2203699e6717d540ec68f27411a95b1b72d5 Mon Sep 17 00:00:00 2001 From: Julius Date: Thu, 14 Mar 2013 22:30:22 +0100 Subject: [PATCH] Prevent article names from being truncated in StockTaking form --- app/views/stock_takings/_stock_change.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/stock_takings/_stock_change.html.haml b/app/views/stock_takings/_stock_change.html.haml index 0c3d766e..616be369 100644 --- a/app/views/stock_takings/_stock_change.html.haml +++ b/app/views/stock_takings/_stock_change.html.haml @@ -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})"