mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-25 20:46:48 +00:00
Div is the default element in HAML, so we don't need to specify it. https://haml.info/docs/yardoc/file.REFERENCE.html#implicit-div-elements
16 lines
581 B
Plaintext
16 lines
581 B
Plaintext
%checkout.row#checkout
|
|
.small-12.medium-12.columns
|
|
.checkout-step
|
|
.checkout-guest-title
|
|
= t :checkout_headline
|
|
|
|
.checkout-submit{ class: "#{@order.distributor.allow_guest_orders? ? 'checkout-submit-inline' : 'medium-6' }" }
|
|
%button.button.primary{ "data-action": "click->guest-checkout#login" }
|
|
= t :label_login
|
|
-if @order.distributor.allow_guest_orders?
|
|
%span.checkout-submit-or
|
|
|
|
%button.button.cancel{ "data-action": "click->guest-checkout#guestSelected" }
|
|
= t :checkout_as_guest
|
|
|