Skip to content

Commit

Permalink
Fix bug where unit name didn't display correctly when adding a storag…
Browse files Browse the repository at this point in the history
…e zone
  • Loading branch information
Charles Duporge committed Sep 11, 2017
1 parent 6ed3901 commit a836df8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/backend/receptions/_storing_fields.html.haml
Expand Up @@ -8,7 +8,7 @@
.storing-quantifier
= f.input :quantity, label: false, wrapper: :append do
= f.input_field :quantity, class: 'storing-quantity', placeholder: '0', data: { required: true }
%span.add-on.storage-unit-name{data: { 'when-item': 'unit_name', 'when-set-value': 'RECORD_VALUE', 'when-scope': 'unit'}}
%span.add-on.item-population-unit-name.storage-unit-name{data: { 'when-item': 'unit_name', 'when-set-value': 'RECORD_VALUE', 'when-scope': 'unit'}}
= variant.unit_name.or_else('#')
.nested-remove.act
- if f.object.destroyable?
Expand Down

0 comments on commit a836df8

Please sign in to comment.