diff --git a/app/views/users/confirmations/new.html.haml b/app/views/users/confirmations/new.html.haml index 2abd83f3f..dd0fba759 100644 --- a/app/views/users/confirmations/new.html.haml +++ b/app/views/users/confirmations/new.html.haml @@ -26,13 +26,11 @@ .confirmation-resend %p Si vous n’avez 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' + = 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 }) + = f.submit 'Renvoyer un email de confirmation', class: 'fr-btn' - %p + %p.fr-mt-3w Vous pouvez également consulter notre = 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) \.