From 58fb2ebe29ed6b9798bf2424b5295b7915053ed9 Mon Sep 17 00:00:00 2001 From: ijdershem-jf Date: Sun, 11 Dec 2022 17:35:59 -0700 Subject: [PATCH] [9834] Fix red error highlighting on product unit selection label --- app/views/spree/admin/products/new.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/spree/admin/products/new.html.haml b/app/views/spree/admin/products/new.html.haml index d16c2da79f..5166f12590 100644 --- a/app/views/spree/admin/products/new.html.haml +++ b/app/views/spree/admin/products/new.html.haml @@ -23,7 +23,7 @@ .sixteen.columns.alpha .eight.columns.alpha = f.field_container :variant_unit do - = f.label :variant_unit_with_scale, t(".units") + = f.label :variant_unit, t(".units") %span.required * %select{id: 'product_variant_unit_with_scale', 'ng-model' => 'product.variant_unit_with_scale', 'ng-options' => 'unit[1] as unit[0] for unit in variant_unit_options', "data-controller": "tom-select","data-tom-select-options-value": '{"allowEmptyOption":false}', class: "primary"} %option{'value' => '', 'ng-hide' => "hasUnit(product)"}