Files
openfoodnetwork/app/views/split_checkout/_form.html.haml
2023-01-20 11:20:34 +01:00

9 lines
330 B
Plaintext

- content_for :injection_data do
= inject_saved_credit_cards
%div.checkout-step{"class": if checkout_step?(:summary) then "checkout-summary" end}
= form_with url: checkout_update_path(checkout_step), model: @order, method: :put,
data: { remote: "true" } do |form|
= render "split_checkout/#{checkout_step}", f: form