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

14 lines
665 B

  1. - content_for :page_title do
  2. Set new password
  3. = simple_form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :put }) do |f|
  4. = render 'shared/error_messages', object: resource
  5. = f.input :reset_password_token, as: :hidden
  6. = f.input :password, autofocus: true, autocomplete: "off", placeholder: 'New password', input_html: { 'aria-label' => 'New password' }
  7. = f.input :password_confirmation, autocomplete: "off", placeholder: 'Confirm new password', input_html: { 'aria-label' => 'Confirm new password' }
  8. .actions
  9. = f.button :button, "Change my password", type: :submit
  10. .form-footer= render "devise/shared/links"