-content_for :title do
  %h1 Changer mon mot de passe.
= form_for(resource, :as => resource_name, :url => password_path(resource_name), :html => { :method => :put }) do |f|
  
  = f.hidden_field :reset_password_token
  %p
    = f.label :password, "Nouveau mot de passe :"
    %br/
    = f.password_field :password
  %p
    = f.label :password_confirmation, "Confirmation :"
    %br/
    = f.password_field :password_confirmation
  %p
    %button{:type => "submit"} Changer mon mot de passe
%p= link_to "Se connecter", new_session_path(resource_name)
