diff --git a/app/assets/stylesheets/bootstrap_and_overrides.css.less b/app/assets/stylesheets/bootstrap_and_overrides.css.less index 6a598cbf..0b16874c 100644 --- a/app/assets/stylesheets/bootstrap_and_overrides.css.less +++ b/app/assets/stylesheets/bootstrap_and_overrides.css.less @@ -308,6 +308,13 @@ i.package { float: none; } } + // allow to add a hint for the whole line + > .help-block { + clear: both; + margin-left: 180px; + position: relative; + top: -2.5ex; + } } } // allow to have indicator text instead of input with same markup diff --git a/app/views/finance/order_articles/_edit.html.haml b/app/views/finance/order_articles/_edit.html.haml index 0dddf8cd..5501575a 100644 --- a/app/views/finance/order_articles/_edit.html.haml +++ b/app/views/finance/order_articles/_edit.html.haml @@ -3,7 +3,13 @@ = link_to t('ui.marks.close').html_safe, '#', class: 'close', data: {dismiss: 'modal'} %h3= t '.title' .modal-body - = form.input :units_to_order + .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'} + = form.input :units_received, label: 'received', input_html: {class: 'input-nano'} + %p.help-block= t 'simple_form.hints.order_article.units_to_order' + + .foo{style: 'clear:both'} = simple_fields_for :article, @order_article.article do |f| = f.input :name