add hints to champs
This commit is contained in:
parent
1060aadff7
commit
b20c2b91fd
15 changed files with 82 additions and 2 deletions
6
config/locales/models/champs/address_champ/fr.yml
Normal file
6
config/locales/models/champs/address_champ/fr.yml
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
fr:
|
||||||
|
activerecord:
|
||||||
|
attributes:
|
||||||
|
champs/address_champ:
|
||||||
|
hints:
|
||||||
|
value: "Saisissez une adresse, une voie, un lieu-dit ou une commune. Exemple : 11 rue Réaumur, Paris"
|
6
config/locales/models/champs/commune_champ/fr.yml
Normal file
6
config/locales/models/champs/commune_champ/fr.yml
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
fr:
|
||||||
|
activerecord:
|
||||||
|
attributes:
|
||||||
|
champs/commune_champ:
|
||||||
|
hints:
|
||||||
|
value: "Renseignez le code postal de la ville puis, ensuite, sélectionnez la commune dans la liste"
|
6
config/locales/models/champs/date_champ/fr.yml
Normal file
6
config/locales/models/champs/date_champ/fr.yml
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
fr:
|
||||||
|
activerecord:
|
||||||
|
attributes:
|
||||||
|
champs/date_champ:
|
||||||
|
hints:
|
||||||
|
value: "Format attendu : JJ/MM/AAAA. Exemple : 15/01/2022"
|
|
@ -3,5 +3,4 @@ fr:
|
||||||
attributes:
|
attributes:
|
||||||
champs/datetime_champ:
|
champs/datetime_champ:
|
||||||
hints:
|
hints:
|
||||||
value: "Format attendu : jj/mm/aaaa hh:mm"
|
value: "Format attendu : JJ/MM/AAAA HH:MM. Exemple : 15/01/2022 12:00"
|
||||||
|
|
||||||
|
|
6
config/locales/models/champs/decimal_number_champ/fr.yml
Normal file
6
config/locales/models/champs/decimal_number_champ/fr.yml
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
fr:
|
||||||
|
activerecord:
|
||||||
|
attributes:
|
||||||
|
champs/decimal_number_champ:
|
||||||
|
hints:
|
||||||
|
value: "Vous pouvez saisir jusqu’à 3 décimales après la virgule"
|
6
config/locales/models/champs/departement_champ/fr.yml
Normal file
6
config/locales/models/champs/departement_champ/fr.yml
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
fr:
|
||||||
|
activerecord:
|
||||||
|
attributes:
|
||||||
|
champs/departement_champ:
|
||||||
|
hints:
|
||||||
|
value: "Renseignez le code ou le nom du département"
|
6
config/locales/models/champs/email_champ/fr.yml
Normal file
6
config/locales/models/champs/email_champ/fr.yml
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
fr:
|
||||||
|
activerecord:
|
||||||
|
attributes:
|
||||||
|
champs/email_champ:
|
||||||
|
hints:
|
||||||
|
value: "Format attendu : nom@domaine.fr"
|
6
config/locales/models/champs/epci_champ/fr.yml
Normal file
6
config/locales/models/champs/epci_champ/fr.yml
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
fr:
|
||||||
|
activerecord:
|
||||||
|
attributes:
|
||||||
|
champs/epci_champ:
|
||||||
|
hints:
|
||||||
|
value: "Renseignez le département de l'EPCI puis, ensuite, sélectionnez l'EPCI dans la liste"
|
|
@ -6,3 +6,7 @@ fr:
|
||||||
attributes:
|
attributes:
|
||||||
value:
|
value:
|
||||||
invalid_iban: n’est pas au format IBAN
|
invalid_iban: n’est pas au format IBAN
|
||||||
|
attributes:
|
||||||
|
champs/iban_champ:
|
||||||
|
hints:
|
||||||
|
value: "Exemple (France) : FR76 1234 1234 1234 1234 1234 123"
|
||||||
|
|
6
config/locales/models/champs/pays_champ/fr.yml
Normal file
6
config/locales/models/champs/pays_champ/fr.yml
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
fr:
|
||||||
|
activerecord:
|
||||||
|
attributes:
|
||||||
|
champs/pays_champ:
|
||||||
|
hints:
|
||||||
|
value: "Renseignez le pays"
|
6
config/locales/models/champs/phone_champ/fr.yml
Normal file
6
config/locales/models/champs/phone_champ/fr.yml
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
fr:
|
||||||
|
activerecord:
|
||||||
|
attributes:
|
||||||
|
champs/phone_champ:
|
||||||
|
hints:
|
||||||
|
value: "Le numéro de téléphone saisi doit être valide"
|
6
config/locales/models/champs/region_champ/fr.yml
Normal file
6
config/locales/models/champs/region_champ/fr.yml
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
fr:
|
||||||
|
activerecord:
|
||||||
|
attributes:
|
||||||
|
champs/region_champ:
|
||||||
|
hints:
|
||||||
|
value: "Renseignez la région"
|
|
@ -9,3 +9,8 @@ fr:
|
||||||
association_date_creation: Date de création
|
association_date_creation: Date de création
|
||||||
association_date_declaration: Date de déclaration
|
association_date_declaration: Date de déclaration
|
||||||
association_date_publication: Date de publication
|
association_date_publication: Date de publication
|
||||||
|
activerecord:
|
||||||
|
attributes:
|
||||||
|
champs/rna_champ:
|
||||||
|
hints:
|
||||||
|
value: "Format attendu : W123456789. Exemple : W503726238"
|
||||||
|
|
6
config/locales/models/champs/siret_champ/fr.yml
Normal file
6
config/locales/models/champs/siret_champ/fr.yml
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
fr:
|
||||||
|
activerecord:
|
||||||
|
attributes:
|
||||||
|
champs/siret_champ:
|
||||||
|
hints:
|
||||||
|
value: "Saisissez 14 chiffres sans espaces"
|
6
config/locales/models/champs/textarea_champ/fr.yml
Normal file
6
config/locales/models/champs/textarea_champ/fr.yml
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
fr:
|
||||||
|
activerecord:
|
||||||
|
attributes:
|
||||||
|
champs/textarea_champ:
|
||||||
|
hints:
|
||||||
|
value: "Redimensionnez le champ pour saisir plus de lignes"
|
Loading…
Reference in a new issue