Update HAML

This commit is contained in:
Patrick Gansterer 2020-08-12 02:44:19 +02:00
parent 5f60844a13
commit 271af8f59f
5 changed files with 8 additions and 6 deletions

View file

@ -4,6 +4,6 @@
= StockArticle.human_attribute_name :amount
(#{stock_change.stock_article.quantity_available})
= form.text_field :quantity, :size => 5, :autocomplete => 'off'
%span{:data => {:toggle => :tooltip, :title => render(:partial => 'shared/article_price_info', :locals => {:article => stock_change.stock_article})}}
%span{:data => {:toggle => :tooltip, :title => "#{render(:partial => 'shared/article_price_info', :locals => {:article => stock_change.stock_article})}"}}
%b= stock_change.stock_article.name
= "(#{number_to_currency(stock_change.stock_article.price)} / #{stock_change.stock_article.unit})"