fix: better email placeholder

This commit is contained in:
Colin Darie 2022-07-07 12:39:34 +02:00
parent 9e26ee932e
commit 93d18e2f53
No known key found for this signature in database
GPG key ID: 4FB865FDBCA4BCC4
3 changed files with 3 additions and 3 deletions

View file

@ -13,7 +13,7 @@ en:
reference_avis_label: Tax notice reference
reference_avis_notice: It is usually composed of 13 to 14 characters.
email:
placeholder: "camilya.martin@laposte.net"
placeholder: "camilya.martin@exemple.fr"
iban:
placeholder: "FR76 3000 6000 0012 3456 7890 189"
mesri:

View file

@ -13,7 +13,7 @@ fr:
reference_avis_label: La référence d'avis d'imposition
reference_avis_notice: Elle est généralement composée de 13 ou 14 caractères.
email:
placeholder: "camilya.martin@laposte.net"
placeholder: "camilya.martin@exemple.fr"
iban:
placeholder: "FR76 3000 6000 0012 3456 7890 189"
mesri:

View file

@ -30,7 +30,7 @@ describe 'shared/dossiers/edit.html.haml', type: :view do
let(:champs) { [champ_email, champ_phone] }
it "renders basic placeholders" do
expect(subject).to have_css('input[type="email"][placeholder$="laposte.net"]')
expect(subject).to have_css('input[type="email"][placeholder$="exemple.fr"]')
expect(subject).to have_css('input[type="tel"][placeholder^="0612"]')
end
end