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.

17 lines
670 B

  1. - content_for :page_title do
  2. Sign up
  3. = simple_form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f|
  4. = render 'shared/error_messages', object: resource
  5. = f.simple_fields_for :account do |ff|
  6. = ff.input :username, autofocus: true, placeholder: 'Username', required: true
  7. = f.input :email, placeholder: 'E-mail address', required: true
  8. = f.input :password, autocomplete: "off", placeholder: 'Password', required: true
  9. = f.input :password_confirmation, autocomplete: "off", placeholder: 'Confirm password', required: true
  10. .actions
  11. = f.button :button, "Sign up", type: :submit
  12. .form-footer= render "auth/shared/links"