Files
openfoodnetwork/app/views/checkout/_authentication.html.haml
Maikel Linke 41970ecf07 Use auth directive for Login button
Use the auth directive instead of the AuthenticationCtrl for the Login
button in the menu and on checkout.
2016-03-18 17:08:32 +11:00

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