fix: better email placeholder
This commit is contained in:
parent
9e26ee932e
commit
93d18e2f53
3 changed files with 3 additions and 3 deletions
|
@ -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:
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue