Files
openfoodnetwork/app/views/checkout/_authentication.html.haml
Matt-Yorkley 7531c8cbc9 Removed dashes
2016-12-19 11:10:12 +00:00

20 lines
621 B
Plaintext

%section{"ng-show" => "!enabled"}
.row
.small-12.columns.text-center
%h3.pad-top
= t :checkout_headline
.row.pad-top
-if guest_checkout_allowed?
.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
-else
.small-6.columns.small-centered
%button.primary.expand{"auth" => "login"}
= t :label_login