mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-26 20:56:48 +00:00
18 lines
477 B
Plaintext
18 lines
477 B
Plaintext
= f_form_for current_order,
|
|
html: {name: "checkout",
|
|
id: "checkout_form",
|
|
novalidate: true,
|
|
"ng-submit" => "purchase($event, checkout)"} do |f|
|
|
|
|
= inject_available_shipping_methods
|
|
= inject_available_payment_methods
|
|
|
|
= render "checkout/details", f: f
|
|
= render "checkout/billing", f: f
|
|
= render "checkout/shipping", f: f
|
|
= render "checkout/payment", f: f
|
|
%p
|
|
%button.button.primary{type: :submit}
|
|
Place order now
|
|
/ {{ checkout.$valid }}
|