2018-09-26 08:56:27 +02:00
|
|
|
- content_for(:title, "Choix du mot de passe")
|
|
|
|
|
|
|
|
- content_for :footer do
|
|
|
|
= render partial: "root/footer"
|
|
|
|
|
2019-08-12 13:41:43 +02:00
|
|
|
.container.devise-container
|
|
|
|
.one-column-centered
|
|
|
|
= form_for @administrateur, url: { controller: 'administrateurs/activate', action: :create }, html: { class: "form" } do |f|
|
|
|
|
%br
|
|
|
|
%h1
|
|
|
|
Choix du mot de passe
|
|
|
|
|
2019-08-12 13:42:30 +02:00
|
|
|
= f.hidden_field :reset_password_token, value: @token
|
2019-08-12 13:41:43 +02:00
|
|
|
= f.label :email, "Email"
|
|
|
|
= f.text_field :email, disabled: true
|
|
|
|
|
|
|
|
= f.label :password do
|
|
|
|
Mot de passe
|
|
|
|
|
|
|
|
= render partial: 'shared/password/edit_password', locals: { form: f, controller: 'administrateurs/passwords' }
|
|
|
|
|
|
|
|
= f.submit 'Continuer', class: 'button large primary expand', id: "submit-password", data: { disable_with: "Envoi..." }
|