Files
openfoodnetwork/app/views/split_checkout/_form.html.haml
Jean-Baptiste Bellet 87a0a5846d WIP; only advance order to delivery state
Use the hidden_field_tag rails helper and move it
2021-07-26 15:47:36 +02:00

12 lines
378 B
Plaintext

- content_for :injection_data do
= inject_available_shipping_methods
= 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 true ## test step
= hidden_field_tag "advance_to_state", "delivery"
= render "split_checkout/your_details", f: f