Move expected format of email field to <span class='fr-hint-text'>
This commit is contained in:
parent
280a25928c
commit
e98dbf3898
3 changed files with 4 additions and 3 deletions
|
@ -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" }
|
||||
|
|
|
@ -5,7 +5,7 @@ en:
|
|||
intro_html:
|
||||
'<p>Contact us via this form and we will answer you as quickly as possible.</p>
|
||||
<p>Make sure you provide all the required information so we can help you in the best way.</p>'
|
||||
notice_email: '(example: address@mail.com)'
|
||||
notice_email: 'Expected format: address@mail.com'
|
||||
your_question: Your question
|
||||
our_answer: Our answer
|
||||
notice_pj_product: A screenshot can help us identify the element to improve.
|
||||
|
|
|
@ -5,7 +5,7 @@ fr:
|
|||
intro_html:
|
||||
'<p>Contactez-nous via ce formulaire et nous vous répondrons dans les plus brefs délais.</p>
|
||||
<p>Pensez bien à nous donner le plus d’informations possible pour que nous puissions vous aider au mieux.</p>'
|
||||
notice_email: '(exemple : adresse@mail.com)'
|
||||
notice_email: 'Format attendu : adresse@mail.com'
|
||||
your_question: Votre question
|
||||
our_answer: Notre réponse
|
||||
notice_pj_product: Une capture d’écran peut nous aider à identifier plus facilement l’endroit à améliorer.
|
||||
|
|
Loading…
Reference in a new issue