From 7b41d4c5d4ef4698c05df1eabb814f6500f64064 Mon Sep 17 00:00:00 2001 From: Maikel Linke Date: Fri, 5 Dec 2014 14:56:32 +1100 Subject: [PATCH] Denoting the product category as required Using common style: span.required * --- app/views/spree/admin/products/_primary_taxon_form.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/spree/admin/products/_primary_taxon_form.html.haml b/app/views/spree/admin/products/_primary_taxon_form.html.haml index 23b2a0c8f3..8ffe5887a7 100644 --- a/app/views/spree/admin/products/_primary_taxon_form.html.haml +++ b/app/views/spree/admin/products/_primary_taxon_form.html.haml @@ -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