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

36 lines
1.3 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, 'Confirmer votre adresse email')
- content_for :footer do
= render partial: 'root/footer'
.container.devise-container.devise-confirmations
.one-column-centered
= devise_error_messages!
%img.confirmation-icon{ src: image_url("user/confirmation-email.svg"), alt: "" }
%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, 'Email'
= 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')
\.