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'
|
|
|
|
|
|
|
|
|
2024-02-20 14:28:45 +01:00
|
|
|
.fr-container
|
|
|
|
.fr-col-12.fr-col-md-6.fr-col-offset-md-3
|
|
|
|
= devise_error_messages!
|
|
|
|
%h1.fr-mt-6w.fr-h2.center
|
|
|
|
= t('views.confirmation.new.title')
|
2018-11-08 15:02:41 +01:00
|
|
|
|
2024-08-12 11:20:45 +02:00
|
|
|
%p.center= image_tag("user/confirmation-email.svg", alt: '')
|
2018-11-08 15:02:41 +01:00
|
|
|
|
2024-02-20 14:28:45 +01:00
|
|
|
= render Dsfr::AlertComponent.new(title: '', state: :info, heading_level: 'h2', extra_class_names: 'fr-mt-6w fr-mb-3w') do |c|
|
|
|
|
- c.with_body do
|
|
|
|
%p= t('views.confirmation.new.email_cta_html', email: resource.email)
|
|
|
|
%p= t('views.confirmation.new.email_guidelines_html')
|
2020-05-25 10:01:59 +02:00
|
|
|
|
2024-06-13 12:35:02 +02:00
|
|
|
%p.fr-text--sm.fr-text-mention--grey.fr-mb-1w
|
|
|
|
= t('views.confirmation.new.email_missing')
|
|
|
|
|
2024-02-20 14:28:45 +01:00
|
|
|
= form_for(resource, as: resource_name, url: confirmation_path(resource_name), html: { class: 'fr-mb-6w'}) do |f|
|
|
|
|
= f.hidden_field :email
|
|
|
|
= f.submit t('views.confirmation.new.resent'), class: 'fr-btn fr-btn--secondary'
|