Files
openfoodnetwork/app/views/checkout/_form.html.haml
Maikel Linke 85c99102dd i18n: Replacing all language strings in app/view/
Languages strings were moved to config/locale/en.yml. All views contain
according calls to t() now.
2015-08-28 16:59:23 +10:00

18 lines
480 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}
= t :checkout_send
/ {{ checkout.$valid }}