demarches-normaliennes/app/views/users/confirmations/new.html.haml
2020-08-04 13:41:10 +00:00

38 lines
1.4 KiB
Text
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

- content_for(:title, 'Confirmez votre adresse email')
- content_for :footer do
= render partial: 'root/footer'
.container.devise-container.devise-confirmations
.one-column-centered
= devise_error_messages!
%h1.center Confirmez votre adresse email
%img.confirmation-icon{ src: image_url("user/confirmation-email.svg"), alt: "Email envoyé" }
%p.confirmation-preamble
= succeed '.' do
Avant deffectuer votre démarche, nous avons besoin de vérifier votre adresse
- if resource.email.present?
%strong= resource.email
%p.confirmation-instructions
Ouvrez votre boîte email, et
%strong cliquez sur le lien dactivation
dans le message que vous avez reçu.
%hr.confirmation-separator
.confirmation-resend
%p Si vous navez pas reçu notre message (avez-vous vérifié les indésirables ?), nous pouvons vous le renvoyer.
= form_for(resource, as: resource_name, url: confirmation_path(resource_name), html: { class: 'form' }) do |f|
= f.label :email, 'Votre email'
%br
= f.email_field :email, placeholder: 'Email', class: 'small', autofocus: true
= f.submit 'Renvoyer un email de confirmation', class: 'button'
%p
Vous pouvez également consulter notre
= link_to('FAQ', FAQ_EMAIL_NON_RECU_URL, target: '_blank', rel: 'noopener')
\.