Fix instructeur invitation
This commit is contained in:
parent
efd793f266
commit
5fdac38cb2
12 changed files with 86 additions and 113 deletions
7
app/views/users/activate/new.html.haml
Normal file
7
app/views/users/activate/new.html.haml
Normal file
|
@ -0,0 +1,7 @@
|
|||
.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'
|
Loading…
Add table
Add a link
Reference in a new issue