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

19 lines
792 B
Plaintext
Raw Normal View History

- provide(:title, generate_title("Sign Up"))
2014-08-01 06:27:08 -07:00
.container
2015-06-08 12:11:35 -07:00
%h1= t('views.sessions.new')
2014-08-01 06:27:08 -07:00
2014-11-02 04:47:35 -08:00
= bootstrap_form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f|
2014-08-01 06:27:08 -07:00
= devise_error_messages!
2015-06-08 12:11:35 -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
2015-06-08 12:11:35 -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
2015-06-08 12:11:35 -07:00
%p= raw t('views.sessions.info', terms: link_to(t('views.general.terms'), terms_path))
2014-08-01 06:27:08 -07:00
= f.submit "Sign up"
= render "devise/shared/links"
2014-11-25 04:58:20 -08:00
= render 'shared/links'