22 lines
971 B
Plaintext
22 lines
971 B
Plaintext
- provide(:title, generate_title('Sign Up'))
|
|
.container
|
|
.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!
|
|
|
|
= 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')
|
|
|
|
= 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')
|
|
|
|
%p= raw t('views.sessions.info', terms: link_to(t('views.general.terms'), terms_path))
|
|
= f.submit 'Sign up', class: 'btn btn-primary mb-3'
|
|
|
|
= render 'devise/shared/links'
|
|
= render 'shared/links'
|