diff --git a/app/views/order_articles/_edit.html.haml b/app/views/order_articles/_edit.html.haml index ce7e444f..e8849551 100644 --- a/app/views/order_articles/_edit.html.haml +++ b/app/views/order_articles/_edit.html.haml @@ -3,7 +3,9 @@ = link_to t('ui.marks.close').html_safe, '#', class: 'close', data: {dismiss: 'modal'} %h3= t '.title' .modal-body - - unless params[:without_units] + - if params[:without_units] + = hidden_field_tag :without_units, true + - else .fold-line = form.input :units_to_order, label: 'Amount ordered', hint: '', input_html: {class: 'input-nano'} -#= form.input :units_billed, label: 'invoice', input_html: {class: 'input-nano'}