22 lines
711 B
Text
22 lines
711 B
Text
|
- content_for(:title, 'Changement de mot de passe')
|
||
|
|
||
|
- content_for :footer do
|
||
|
= render partial: 'root/footer'
|
||
|
|
||
|
.container.devise-container
|
||
|
.one-column-centered
|
||
|
= devise_error_messages!
|
||
|
|
||
|
= form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :patch, class: 'form' }) do |f|
|
||
|
|
||
|
%h1 Changement de mot de passe
|
||
|
|
||
|
= f.hidden_field :reset_password_token, value: params[:token]
|
||
|
|
||
|
= f.label 'Nouveau mot de passe'
|
||
|
|
||
|
= render partial 'shared/password/edit_password', locals: { form: f, controller: controller }
|
||
|
|
||
|
= f.submit 'Changer le mot de passe', class: 'button large primary expand', id: "submit-password", data: { disable_with: "Envoi..." }
|
||
|
|