Set data-remote on checkout form

This commit is contained in:
Matt-Yorkley
2021-08-14 20:21:10 +01:00
parent 9be73a8ff1
commit 20ff594014

View File

@@ -2,5 +2,7 @@
= inject_saved_credit_cards
%div.checkout-step
= form_with url: checkout_update_path(checkout_step), model: @order, method: :put do |f|
= render "split_checkout/#{checkout_step}", f: f
= form_with url: checkout_update_path(checkout_step), model: @order, method: :put,
data: { remote: "true" } do |form|
= render "split_checkout/#{checkout_step}", f: form