correctif(users.confirmation): le formulaire n'est pas au format DSFR
This commit is contained in:
parent
8e036152f1
commit
15d683964e
1 changed files with 4 additions and 6 deletions
|
@ -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)
|
||||
\.
|
||||
|
|
Loading…
Reference in a new issue