From dcbf02bc47383d4aa34c70c47f2d73724c9f6cc3 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Bellet Date: Wed, 13 Jan 2021 11:30:08 +0100 Subject: [PATCH] remove asterisk on 'display as' field unit value for a product as it's not a mandatory field --- app/views/spree/admin/products/_display_as.html.haml | 1 - 1 file changed, 1 deletion(-) diff --git a/app/views/spree/admin/products/_display_as.html.haml b/app/views/spree/admin/products/_display_as.html.haml index 95636694c3..04af12bdce 100644 --- a/app/views/spree/admin/products/_display_as.html.haml +++ b/app/views/spree/admin/products/_display_as.html.haml @@ -1,5 +1,4 @@ .three.columns.omega{ "ng-if" => "product.variant_unit_with_scale != 'items'" } = f.field_container :display_as do = f.label :product_display_as, t('.display_as') - %span.required * %input#product_display_as.fullwidth{name: "product[display_as]", placeholder: "{{ placeholder_text }}", type: "text"}