Move expected format of email field to <span class='fr-hint-text'>

This commit is contained in:
Corinne Durrmeyer 2024-07-25 10:15:43 +02:00
parent 280a25928c
commit e98dbf3898
No known key found for this signature in database
GPG key ID: DDC049DDA35585B6
3 changed files with 4 additions and 3 deletions

View file

@ -18,8 +18,9 @@
.fr-input-group
= label_tag :email, class: 'fr-label' do
Email
= t('.notice_email')
= render EditableChamp::AsteriskMandatoryComponent.new
%span.fr-hint-text
= t('.notice_email')
= email_field_tag :email, params[:email], required: true, autocomplete: 'email', class: 'fr-input'
%fieldset.fr-fieldset{ name: "type" }