Merge pull request #8835 from tchak/fix-champ-commune
fix(commune): improuve label and error message
This commit is contained in:
commit
8945777b56
3 changed files with 5 additions and 5 deletions
|
@ -1,4 +1,4 @@
|
|||
---
|
||||
en:
|
||||
postal_code: Postal code of the municipality
|
||||
not_found: No municipality found for postal code %{postal_code}
|
||||
postal_code: Enter the postal code then select the municipality from the list
|
||||
not_found: No municipality found for postal code %{postal_code}. Please check that you haven't made any mistakes.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
---
|
||||
fr:
|
||||
postal_code: Code postal de la commune
|
||||
not_found: Aucune commune trouvée pour le code postal %{postal_code}
|
||||
postal_code: Renseignez le code postal puis sélectionnez la commune dans la liste
|
||||
not_found: Aucune commune trouvée pour le code postal %{postal_code}. Verifiez que vous n'avez pas fait d’erreur.
|
||||
|
|
|
@ -44,7 +44,7 @@ describe 'The user' do
|
|||
select('Australie', from: form_id_for('pays'))
|
||||
select('Martinique', from: form_id_for('regions'))
|
||||
select('02 – Aisne', from: form_id_for('departements'))
|
||||
fill_in('Code postal de la commune', with: '60400')
|
||||
fill_in('Renseignez le code postal puis sélectionnez la commune dans la liste', with: '60400')
|
||||
select('Brétigny (60400)', from: form_id_for('communes'))
|
||||
|
||||
fill_in('dossier_link', with: '123')
|
||||
|
|
Loading…
Reference in a new issue