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

16 lines
520 B
Plaintext
Raw Normal View History

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"
= f.submit "Sign up"
= render "devise/shared/links"