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

18 lines
470 B
Text
Raw Normal View History

- content_for(:title, 'Mot de passe oublié')
2016-02-08 19:32:18 +01:00
- content_for :footer do
= render partial: 'root/footer'
2016-02-08 19:32:18 +01:00
.container.devise-container
.one-column-centered
= devise_error_messages!
= form_for(resource, as: resource_name, url: password_path(resource_name), html: { class: 'form' }) do |f|
%h1 Mot de passe oublié
= f.label :email, 'Email'
= f.email_field :email, autofocus: true
2018-10-17 19:50:03 +02:00
= f.submit 'Réinitialiser', class: 'button primary'