style(champ): remove generic placeholders because new DSFR don't like placeholders in input
This commit is contained in:
parent
bf20bcf476
commit
71e7f51753
4 changed files with 1 additions and 11 deletions
|
@ -1,5 +1,4 @@
|
||||||
= form.text_field :value,
|
= form.text_field :value,
|
||||||
id: champ.input_id,
|
id: champ.input_id,
|
||||||
placeholder: t(".placeholder"),
|
|
||||||
required: champ.mandatory?,
|
required: champ.mandatory?,
|
||||||
aria: { describedby: champ.describedby_id }
|
aria: { describedby: champ.describedby_id }
|
||||||
|
|
|
@ -3,5 +3,4 @@
|
||||||
aria: { describedby: champ.describedby_id },
|
aria: { describedby: champ.describedby_id },
|
||||||
rows: 6,
|
rows: 6,
|
||||||
required: champ.mandatory?,
|
required: champ.mandatory?,
|
||||||
value: html_to_string(champ.value),
|
value: html_to_string(champ.value)
|
||||||
placeholder: t(".placeholder")
|
|
||||||
|
|
|
@ -27,10 +27,6 @@ en:
|
||||||
siret:
|
siret:
|
||||||
placeholder: "50000123456789"
|
placeholder: "50000123456789"
|
||||||
title: "The SIRET number must have exactly 14 digits"
|
title: "The SIRET number must have exactly 14 digits"
|
||||||
text:
|
|
||||||
placeholder: "Your answer"
|
|
||||||
textarea:
|
|
||||||
placeholder: "Write your answer here"
|
|
||||||
header:
|
header:
|
||||||
expires_at:
|
expires_at:
|
||||||
brouillon: "Expires on %{date} (%{duree_conservation_totale} months after this file was created)"
|
brouillon: "Expires on %{date} (%{duree_conservation_totale} months after this file was created)"
|
||||||
|
|
|
@ -27,10 +27,6 @@ fr:
|
||||||
siret:
|
siret:
|
||||||
placeholder: "50000123456789"
|
placeholder: "50000123456789"
|
||||||
title: "Le numéro de SIRET doit comporter exactement 14 chiffres"
|
title: "Le numéro de SIRET doit comporter exactement 14 chiffres"
|
||||||
text:
|
|
||||||
placeholder: "Votre réponse"
|
|
||||||
textarea:
|
|
||||||
placeholder: "Rédigez ici votre réponse"
|
|
||||||
header:
|
header:
|
||||||
expires_at:
|
expires_at:
|
||||||
brouillon: "Expirera le %{date} (%{duree_conservation_totale} mois après la création du dossier)"
|
brouillon: "Expirera le %{date} (%{duree_conservation_totale} mois après la création du dossier)"
|
||||||
|
|
Loading…
Reference in a new issue