From 08e23023b3155364b0ee98edb3eb4f8d33debea7 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Bellet Date: Wed, 1 Mar 2023 08:46:33 +0100 Subject: [PATCH] Make label clickable to check/uncheck checkbox --- app/views/split_checkout/payment/_stripe_sca.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/split_checkout/payment/_stripe_sca.html.haml b/app/views/split_checkout/payment/_stripe_sca.html.haml index 6eed961989..144ca2559a 100644 --- a/app/views/split_checkout/payment/_stripe_sca.html.haml +++ b/app/views/split_checkout/payment/_stripe_sca.html.haml @@ -29,5 +29,5 @@ - if spree_current_user .checkout-input = check_box_tag "order[payments_attributes][][source_attributes][save_requested_by_customer]", 1, false - = label :save_requested_by_customer, t('split_checkout.step2.form.stripe.save_card'), { for: "save_requested_by_customer" } + = label_tag :order_payments_attributes__source_attributes_save_requested_by_customer, t('split_checkout.step2.form.stripe.save_card') \ No newline at end of file