mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
fix product category errors message in the form
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
= f.field_container :primary_taxon_id do
|
||||
= f.field_container :primary_taxon do
|
||||
= f.label :primary_taxon_id, t('.product_category')
|
||||
%span.required *
|
||||
%br
|
||||
= f.collection_select(:primary_taxon_id, Spree::Taxon.order(:name), :id, :name, {:include_blank => true}, {:class => "select2 fullwidth"})
|
||||
= f.error_message_on :primary_taxon_id
|
||||
= f.error_message_on :primary_taxon
|
||||
|
||||
Reference in New Issue
Block a user