do not show units fields in receive edit order article screen

This commit is contained in:
wvengen 2014-01-03 13:54:02 +01:00
parent b800da9b9b
commit aa57cee96f
2 changed files with 8 additions and 7 deletions

View file

@ -24,7 +24,7 @@
/ TODO add almost invisible text_field for entering single units
%td.units_delta
%td
= link_to t('ui.edit'), edit_order_order_article_path(order_article.order, order_article), remote: true, class: 'btn btn-small'
= link_to t('ui.edit'), edit_order_order_article_path(order_article.order, order_article, without_units: true), remote: true, class: 'btn btn-small'
- if order_article.result_manually_changed?
= button_tag nil, class: 'btn btn-small unlocker', title: t('.locked_to_protect_unlock_button') do
%i.icon-unlock