style(champ): remove generic placeholders because new DSFR don't like placeholders in input

This commit is contained in:
Colin Darie 2022-07-13 15:53:56 +02:00
parent bf20bcf476
commit 71e7f51753
4 changed files with 1 additions and 11 deletions

View file

@ -1,5 +1,4 @@
= form.text_field :value,
id: champ.input_id,
placeholder: t(".placeholder"),
required: champ.mandatory?,
aria: { describedby: champ.describedby_id }

View file

@ -3,5 +3,4 @@
aria: { describedby: champ.describedby_id },
rows: 6,
required: champ.mandatory?,
value: html_to_string(champ.value),
placeholder: t(".placeholder")
value: html_to_string(champ.value)

View file

@ -27,10 +27,6 @@ en:
siret:
placeholder: "50000123456789"
title: "The SIRET number must have exactly 14 digits"
text:
placeholder: "Your answer"
textarea:
placeholder: "Write your answer here"
header:
expires_at:
brouillon: "Expires on %{date} (%{duree_conservation_totale} months after this file was created)"

View file

@ -27,10 +27,6 @@ fr:
siret:
placeholder: "50000123456789"
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:
expires_at:
brouillon: "Expirera le %{date} (%{duree_conservation_totale} mois après la création du dossier)"