mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
Fixes dotted shipping method names bad display in select
This commit is contained in:
@@ -38,7 +38,7 @@
|
||||
.field
|
||||
= label_tag nil, t(:shipping_method)
|
||||
= select_tag(:shipping_method_id,
|
||||
options_for_select(Spree::ShippingMethod.managed_by(spree_current_user).collect {|s| [t("spree.shipping_method_names.#{s.name}"), s.id]}),
|
||||
options_for_select(Spree::ShippingMethod.managed_by(spree_current_user).collect {|s| [t("spree.shipping_method_names.#{s.name}", default: s.name), s.id]}),
|
||||
{ include_blank: true, class: "primary", "data-controller": "tom-select" })
|
||||
.field-block.alpha.eight.columns
|
||||
= label_tag nil, t(:distributors)
|
||||
|
||||
Reference in New Issue
Block a user