2015-01-07 20:07:36 -05:00
|
|
|
.login-box
|
2015-02-13 09:16:00 -05:00
|
|
|
- if signin_enabled?
|
|
|
|
.login-heading
|
|
|
|
%h3 New user? Create an account
|
|
|
|
- else
|
|
|
|
.login-heading
|
|
|
|
%h3 Create an account
|
2015-01-07 20:07:36 -05:00
|
|
|
.login-body
|
2016-04-19 16:00:45 -04:00
|
|
|
= form_for(resource, as: "new_#{resource_name}", url: registration_path(resource_name)) do |f|
|
2015-01-07 20:07:36 -05:00
|
|
|
.devise-errors
|
|
|
|
= devise_error_messages!
|
|
|
|
%div
|
2016-04-13 03:27:40 -04:00
|
|
|
= f.text_field :name, class: "form-control top", placeholder: "Name", required: true
|
2015-01-07 20:07:36 -05:00
|
|
|
%div
|
2016-04-13 03:27:40 -04:00
|
|
|
= f.text_field :username, class: "form-control middle", placeholder: "Username", required: true
|
2015-01-07 20:07:36 -05:00
|
|
|
%div
|
2016-04-13 03:27:40 -04:00
|
|
|
= f.email_field :email, class: "form-control middle", placeholder: "Email", required: true
|
2015-02-05 09:56:58 -05:00
|
|
|
.form-group.append-bottom-20#password-strength
|
2016-04-19 16:00:45 -04:00
|
|
|
= f.password_field :password, class: "form-control bottom", placeholder: "Password", required: true
|
2015-12-27 12:03:06 -05:00
|
|
|
%div
|
2015-12-28 15:21:34 -05:00
|
|
|
- if current_application_settings.recaptcha_enabled
|
2015-12-27 12:03:06 -05:00
|
|
|
= recaptcha_tags
|
2015-01-07 20:07:36 -05:00
|
|
|
%div
|
|
|
|
= f.submit "Sign up", class: "btn-create btn"
|
2015-02-13 09:16:17 -05:00
|
|
|
|
|
|
|
.clearfix.prepend-top-20
|
|
|
|
%p
|
2015-04-07 17:46:00 -04:00
|
|
|
%span.light Didn't receive a confirmation email?
|
|
|
|
= succeed '.' do
|
|
|
|
= link_to "Request a new one", new_confirmation_path(resource_name)
|