mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-04 22:16:08 +00:00
Denoting the product category as required
Using common style: span.required *
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
= f.field_container :primary_taxon_id do
|
||||
= f.label :primary_taxon_id, t(:product_category)
|
||||
*
|
||||
%span.required *
|
||||
%br
|
||||
= f.collection_select(:primary_taxon_id, Spree::Taxon.all, :id, :name, {:include_blank => true}, {:class => "select2 fullwidth"})
|
||||
= f.error_message_on :primary_taxon_id
|
||||
|
||||
Reference in New Issue
Block a user