闭社主体 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.

15 lines
540 B

  1. - content_for :page_title do
  2. Set new password
  3. = form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :put }) do |f|
  4. = devise_error_messages!
  5. = f.hidden_field :reset_password_token
  6. .field
  7. = f.password_field :password, autofocus: true, autocomplete: "off", placeholder: 'New password'
  8. .field
  9. = f.password_field :password_confirmation, autocomplete: "off", placeholder: 'Confirm new password'
  10. .actions
  11. = f.button "Change my password", type: :submit
  12. = render "devise/shared/links"