demarches-normaliennes/app/views/users/activate/new.html.haml

8 lines
355 B
Text
Raw Normal View History

.container
2019-08-07 15:52:38 +02:00
= form_for @user, url: { controller: 'users/activate', action: :create }, html: { class: "form" } do |f|
%br
2019-08-07 15:52:38 +02:00
%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'