style(dsfr): profile email input converted to dsfr
This commit is contained in:
parent
50e7090b9e
commit
1868c1da09
2 changed files with 3 additions and 3 deletions
|
@ -34,4 +34,4 @@
|
|||
= f.label :birthdate
|
||||
= f.date_field :birthdate, value: @dossier.individual.birthdate, placeholder: 'format : AAAA-MM-JJ', required: true, class: "small"
|
||||
|
||||
= f.submit t('views.users.dossiers.identite.continue'), class: "fr-btn fr-btn--lg"
|
||||
= f.submit t('views.users.dossiers.identite.continue'), class: "fr-btn fr-btn--lg fr-mt-4w"
|
||||
|
|
|
@ -39,8 +39,8 @@
|
|||
application_name: APPLICATION_NAME,
|
||||
legit_admin_domains: LEGIT_ADMIN_DOMAINS.join(', '))
|
||||
|
||||
= form_for current_user, url: update_email_path, method: :patch, html: { class: 'form' } do |f|
|
||||
= f.email_field :email, value: nil, placeholder: t('.new_email_address'), required: true
|
||||
= form_for current_user, url: update_email_path, method: :patch do |f|
|
||||
= render Dsfr::InputComponent.new(form: f, attribute: :email, input_type: :email_field, opts: { value: nil, placeholder: t('.new_email_address') })
|
||||
= f.submit t('.change_address'), class: 'fr-btn fr-btn--secondary'
|
||||
|
||||
- if !instructeur_signed_in?
|
||||
|
|
Loading…
Add table
Reference in a new issue