introduce new layout in balancing article screen as well

This commit is contained in:
wvengen 2013-12-23 16:11:14 +01:00
parent 3f497e9274
commit 699be6a6d9
4 changed files with 51 additions and 45 deletions

View file

@ -0,0 +1,6 @@
-# use the local 'f', or supply 'f_uq' and 'f_unit' for more control (like in balancing)
.fold-line
= (f_uq rescue f).input :unit_quantity, label: Article.human_attribute_name(:unit),
input_html: {class: 'input-mini', title: Article.human_attribute_name(:unit_quantity)}
= (f_unit rescue f).input :unit, label: '×'.html_safe,
input_html: {class: 'input-mini', title: Article.human_attribute_name(:unit)}