php_app/app/views/admin/passwords/new.html.haml
Nicolas Bally 5cf3a3e83d initial
2014-11-25 22:56:20 +01:00

12 lines
388 B
Plaintext

-content_for :title do
%h1 Mot de passe perdu ?
= form_for(resource, :as => resource_name, :url => password_path(resource_name), :html => { :method => :post }) do |f|
%p
= f.label :email, "Email :"
%br/
= f.text_field :email
%button{:type => "submot"} Recevoir les instructions pour changer de mot de passe.
%p= link_to "Se connecter", new_session_path(resource_name)