mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Ensure Shipping Methods can be created with no tax category
The option to apply *no* tax category should be present in this dropdown.
This commit is contained in:
@@ -49,7 +49,8 @@
|
||||
%fieldset.tax_categories.no-border-bottom
|
||||
%legend{align: "center"}= t('.tax_category')
|
||||
= f.field_container :tax_categories do
|
||||
= f.select :tax_category_id, @tax_categories.map { |tc| [tc.name, tc.id] }, {}, :class => "select2 fullwidth"
|
||||
= f.select :tax_category_id, @tax_categories.map { |tc| [tc.name, tc.id] },
|
||||
{ include_blank: t(:none) }, class: "select2 fullwidth"
|
||||
= error_message_on :shipping_method, :tax_category_id
|
||||
|
||||
%fieldset.categories.no-border-bottom
|
||||
|
||||
Reference in New Issue
Block a user