Skip to content

Commit

Permalink
Fixes #85
Browse files Browse the repository at this point in the history
  • Loading branch information
lentschi committed Jul 26, 2024
1 parent 681095b commit dec2762
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/articles/_edit_all_table.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
= form.text_field 'price', class: 'input-mini', style: 'width: 45px'
.input.d-flex.gap-1.control-group
%label=t('articles.form.per')
= form.select :price_unit, [], {include_blank: false}, {class: 'input-medium'}
= form.input :price_unit, as: :select, collection: [], input_html: {'data-initial-value': article.price_unit, class: 'input-medium'}, label: false, wrapper: false, include_blank: false
%td= form.text_field 'order_number', class: 'input-mini'
%td= form.text_field 'note', class: 'input-medium'
%td= form.collection_select 'article_category_id', @article_categories,
Expand Down

0 comments on commit dec2762

Please sign in to comment.