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

21 lines
680 B
Plaintext
Raw Normal View History

- provide(:title, generate_title("Sign Up"))
2014-08-01 06:27:08 -07:00
.container
%h1 Sign up
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!
= f.text_field :screen_name, autofocus: true, label: "User name"
= f.email_field :email, autofocus: false, label: "Email address"
= f.password_field :password, autocomplete: "off", label: "Password"
= f.password_field :password_confirmation, autocomplete: "off", label: "Confirm password"
2015-01-17 03:34:51 -08:00
%p
With signing up you accept our
= link_to "Terms of Service", 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'