Files
openfoodnetwork/app/views/split_checkout/_form.html.haml
Matt-Yorkley 6b430f9440 Drop AMS injection for shipping methods
We don't need this now
2021-08-03 11:23:10 +02:00

12 lines
417 B
Plaintext

- content_for :injection_data do
= inject_available_payment_methods
= inject_saved_credit_cards
= form_with url: update_checkout_path, model: @order, method: :put do |f|
%div.checkout-step.medium-6
- if current_page?(checkout_your_details_path)
= render 'split_checkout/your_details', f: f
- elsif current_page?(checkout_payment_method_path)
= render "split_checkout/payment_method", f: f