mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-27 21:06:49 +00:00
39 lines
1.2 KiB
Plaintext
39 lines
1.2 KiB
Plaintext
%tab#sign-up-content{"ng-controller" => "SignupSidebarCtrl",
|
|
heading: "Signup",
|
|
active: "active()",
|
|
select: "select()"}
|
|
%form{"ng-submit" => "submit()"}
|
|
.row
|
|
.large-12.columns
|
|
%label{for: "email"} Email
|
|
%input.title.input-text{name: "email",
|
|
type: "email",
|
|
tabindex: 1,
|
|
"ng-model" => "spree_user.email"}
|
|
%span.error{"ng-show" => "errors.email != null"}
|
|
{{ errors.email.join(' ') }}
|
|
.row
|
|
.large-12.columns
|
|
%label{for: "password"} Password
|
|
%input.title.input-text{name: "password",
|
|
type: "password",
|
|
autocomplete: "off",
|
|
tabindex: 2,
|
|
"ng-model" => "spree_user.password"}
|
|
%span.error{"ng-show" => "errors.password != null"}
|
|
{{ errors.password.join(' ') }}
|
|
.row
|
|
.large-12.columns
|
|
%label{for: "password"} Password Confirmation
|
|
%input.title.input-text{name: "password_confirmation",
|
|
type: "password",
|
|
autocomplete: "off",
|
|
tabindex: 2,
|
|
"ng-model" => "spree_user.password_confirmation"}
|
|
.row
|
|
.large-12.columns
|
|
%input.button.primary{name: "commit",
|
|
tabindex: "3",
|
|
type: "submit",
|
|
value: "Signup"}
|