mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-26 20:56:48 +00:00
Use the auth directive instead of the AuthenticationCtrl for the Login button in the menu and on checkout.
15 lines
450 B
Plaintext
15 lines
450 B
Plaintext
%section{"ng-show" => "!enabled"}
|
|
.row
|
|
.small-12.columns.text-center
|
|
%h3.pad-top
|
|
= t :checkout_headline
|
|
.row.pad-top
|
|
.small-5.columns.text-center
|
|
%button.primary.expand{"auth" => "login"}
|
|
= t :label_login
|
|
.small-2.columns.text-center
|
|
%p.pad-top= "-#{t :action_or}-"
|
|
.small-5.columns.text-center
|
|
%button.neutral-btn.dark.expand{"ng-click" => "enabled = true"}
|
|
= t :checkout_as_guest
|