2014-11-14 11:58:36 +01:00
|
|
|
.container
|
|
|
|
|
.row
|
|
|
|
|
.col-md-6.col-md-offset-3
|
|
|
|
|
.panel.panel-default
|
|
|
|
|
.panel-heading
|
|
|
|
|
%h3.panel-title
|
|
|
|
|
Sign Up
|
|
|
|
|
.panel-body
|
|
|
|
|
= semantic_form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f|
|
2017-03-28 17:54:27 +03:00
|
|
|
= f.input :username, input_html: { required: true }, hint: 'This is how the other users see you, not your real name'
|
2015-04-22 20:40:21 +03:00
|
|
|
= f.input :email, input_html: { required: true }
|
2017-03-28 17:54:27 +03:00
|
|
|
= f.input :name, input_html: { required: true }, hint: 'This is your real name'
|
2015-04-22 20:40:21 +03:00
|
|
|
= f.input :password, input_html: { required: true }
|
|
|
|
|
= f.input :password_confirmation, input_html: { required: true }
|
2017-11-03 20:37:42 -07:00
|
|
|
- Feature.with(:recaptcha) do
|
|
|
|
|
= recaptcha_tags
|
2014-11-14 11:58:36 +01:00
|
|
|
%p.text-right
|
2015-04-22 20:40:21 +03:00
|
|
|
= f.action :submit, as: :button, label: 'Sign Up', button_html: { class: 'btn btn-success' }
|
2015-04-18 21:44:40 +03:00
|
|
|
|
|
|
|
|
= render partial: 'devise/shared/openid'
|
|
|
|
|
= render partial: 'devise/shared/help'
|