(Fix) [User->New] Language is displayed twice [OFN-11513]

This commit is contained in:
wandji20
2024-07-10 00:00:09 +01:00
committed by Konrad
parent c25fe6ae57
commit a9e295bc11

View File

@@ -14,7 +14,7 @@
= hidden_field_tag "user[spree_role_ids][]", ""
= f.field_container :locale do
= f.label :locale, t(".locale")
= f.select :locale, locale_options, class: "fullwidth"
= f.select :locale, OpenFoodNetwork::I18nConfig.locale_options, class: "fullwidth"
= f.field_container :enterprise_limit do
= f.label :enterprise_limit, t(".enterprise_limit")
= f.text_field :enterprise_limit, class: "fullwidth"