Files
ch420/app/views/supporters/passwords/edit.html.slim
T

12 lines
604 B
Plaintext

h2
= t("devise.passwords.edit.change_your_password")
= simple_form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :put }) do |f|
= f.input :reset_password_token, as: :hidden
= f.full_error :reset_password_token
.form-inputs
= f.input :password, label: t("devise.passwords.edit.new_password"), required: true, autofocus: true
= f.input :password_confirmation, label: t("devise.passwords.edit.confirm_new_password"), required: true
.form-actions
= f.button :submit, t("devise.passwords.edit.change_my_password")
= render "supporters/shared/links"