From d67a0083f1371b866344dcb18fb79e01ac8c851e Mon Sep 17 00:00:00 2001 From: wvengen Date: Sat, 14 Dec 2013 13:15:16 +0100 Subject: [PATCH] fix price hint escaping (thanks @JuliusR) --- app/views/deliveries/_stock_article_form.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/deliveries/_stock_article_form.html.haml b/app/views/deliveries/_stock_article_form.html.haml index 21c5b216..5fdce8de 100644 --- a/app/views/deliveries/_stock_article_form.html.haml +++ b/app/views/deliveries/_stock_article_form.html.haml @@ -16,7 +16,7 @@ %span.add-on % = f.input :deposit - else - = f.input :price, :input_html => {:disabled => 'disabled'}, :hint => stock_article_price_hint(stock_article) + = f.input :price, :input_html => {:disabled => 'disabled'}, :hint => stock_article_price_hint(stock_article).html_safe = f.association :article_category .modal-footer = link_to t('ui.close'), '#', class: 'btn', data: {dismiss: 'modal'}