From 36f3e4af02cfbfdbd26b4ecf1b66586d16c7bde4 Mon Sep 17 00:00:00 2001 From: cyrillefr Date: Tue, 7 May 2024 09:57:14 +0200 Subject: [PATCH] Requested changes on Delete button missing - cleaned haml/html --- app/views/admin/products_v3/_variant_row.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/admin/products_v3/_variant_row.html.haml b/app/views/admin/products_v3/_variant_row.html.haml index 9c131c77d7..7136d16b79 100644 --- a/app/views/admin/products_v3/_variant_row.html.haml +++ b/app/views/admin/products_v3/_variant_row.html.haml @@ -68,6 +68,6 @@ "data-modal-link-modal-dataset-value": {'data-current-id': variant.id}.to_json } = t('admin.products_page.actions.delete') - else + = f.hidden_field :_destroy %a{ 'data-action': "nested-form#remove" } - = f.hidden_field :_destroy = t('admin.products_page.actions.remove')