2024-01-29 11:25:18 +01:00
|
|
|
- content_for(:title, t('views.confirmation.new.title'))
|
2018-10-02 15:47:32 +02:00
|
|
|
|
|
|
|
- content_for :footer do
|
|
|
|
= render partial: 'root/footer'
|
|
|
|
|
2018-11-08 15:02:41 +01:00
|
|
|
.container.devise-container.devise-confirmations
|
2018-10-02 15:47:32 +02:00
|
|
|
.one-column-centered
|
|
|
|
= devise_error_messages!
|
2024-01-29 11:25:18 +01:00
|
|
|
%h1.center= t('views.confirmation.new.title')
|
2018-10-02 15:47:32 +02:00
|
|
|
|
2024-01-29 11:25:18 +01:00
|
|
|
%img.confirmation-icon{ src: image_url("user/confirmation-email.svg"), alt: t('views.confirmation.new.image_alt') }
|
2018-10-02 15:47:32 +02:00
|
|
|
|
2022-09-22 11:02:13 +02:00
|
|
|
%h2.confirmation-preamble
|
2018-11-08 15:02:41 +01:00
|
|
|
= succeed '.' do
|
2024-01-29 11:25:18 +01:00
|
|
|
= t('views.confirmation.new.email_cta')
|
2018-11-08 15:02:41 +01:00
|
|
|
- if resource.email.present?
|
|
|
|
%strong= resource.email
|
2018-10-02 15:47:32 +02:00
|
|
|
|
2024-01-29 11:25:18 +01:00
|
|
|
%p.confirmation-instructions= t('views.confirmation.new.email_guidelines_html')
|
2018-10-02 15:47:32 +02:00
|
|
|
|
2018-11-08 15:02:41 +01:00
|
|
|
%hr.confirmation-separator
|
|
|
|
|
|
|
|
.confirmation-resend
|
2024-01-29 11:25:18 +01:00
|
|
|
%p= t('views.confirmation.new.email_missing')
|
2018-11-08 15:02:41 +01:00
|
|
|
|
2023-10-03 15:55:51 +02:00
|
|
|
= form_for(resource, as: resource_name, url: confirmation_path(resource_name)) do |f|
|
|
|
|
= render Dsfr::InputComponent.new(form: f, attribute: :email, input_type: :email_field, opts: { autofocus: true })
|
2024-01-29 11:25:18 +01:00
|
|
|
= f.submit t('views.confirmation.new.resent'), class: 'fr-btn'
|
2020-05-25 10:01:59 +02:00
|
|
|
|
2023-10-03 15:55:51 +02:00
|
|
|
%p.fr-mt-3w
|
2024-01-29 11:25:18 +01:00
|
|
|
= t('views.confirmation.new.faq')
|
2023-01-09 18:16:04 +01:00
|
|
|
= link_to(t("links.common.faq.label"), t("links.common.faq.email_non_recu_url"), title: new_tab_suffix(t("links.common.faq.title")), **external_link_attributes)
|
2020-05-25 10:01:59 +02:00
|
|
|
\.
|