Retrospring/app/views/devise/registrations/new.haml

22 lines
971 B
Plaintext
Raw Normal View History

2020-05-10 04:45:48 -07:00
- provide(:title, generate_title('Sign Up'))
2014-08-01 06:27:08 -07:00
.container
2020-05-06 12:56:10 -07:00
.row
.col-sm-8.offset-sm-2
.card.mt-3
.card-body
%h1= t('views.sessions.new')
= bootstrap_form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f|
= devise_error_messages!
2014-08-01 06:27:08 -07:00
2020-05-06 12:56:10 -07:00
= f.text_field :screen_name, autofocus: true, label: t('views.settings.account.username')
= f.email_field :email, autofocus: false, label: t('views.settings.account.email')
2014-08-01 06:27:08 -07:00
2020-05-10 04:45:48 -07:00
= f.password_field :password, autocomplete: 'off', label: t('views.settings.account.password')
= f.password_field :password_confirmation, autocomplete: 'off', label: t('views.settings.account.password_confirm')
2014-08-01 06:27:08 -07:00
2020-05-06 12:56:10 -07:00
%p= raw t('views.sessions.info', terms: link_to(t('views.general.terms'), terms_path))
2020-05-10 04:45:48 -07:00
= f.submit 'Sign up', class: 'btn btn-primary mb-3'
2014-08-01 06:27:08 -07:00
2020-05-10 04:45:48 -07:00
= render 'devise/shared/links'
2014-11-25 04:58:20 -08:00
= render 'shared/links'