demarches-normaliennes/app/views/users/activate/new.html.haml
2019-08-13 15:15:16 +02:00

7 lines
355 B
Text

.container
= form_for @user, url: { controller: 'users/activate', action: :create }, html: { class: "form" } do |f|
%br
%h1= @user.email
= f.password_field :password, placeholder: 'Mot de passe'
= f.hidden_field :reset_password_token, value: params[:token]
= f.submit 'Définir le mot de passe', class: 'button large primary expand'