闭社主体 forked from https://github.com/tootsuite/mastodon
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
696 B

  1. - content_for :page_title do
  2. Sign up
  3. = form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f|
  4. = devise_error_messages!
  5. = f.fields_for :account do |ff|
  6. .field
  7. = ff.text_field :username, autofocus: true, placeholder: 'Username', required: true
  8. .field
  9. = f.email_field :email, placeholder: 'E-mail address', required: true
  10. .field
  11. = f.password_field :password, autocomplete: "off", placeholder: 'Password', required: true
  12. .field
  13. = f.password_field :password_confirmation, autocomplete: "off", placeholder: 'Confirm password', required: true
  14. .actions
  15. = f.button "Sign up", type: 'submit'
  16. .form-footer= render "auth/shared/links"