Merge pull request #8210 from colinux/fix-annuaire-education-schema

fix(annuaire-education): schema less strict
This commit is contained in:
Colin Darie 2022-12-07 22:30:56 +01:00 committed by GitHub
commit 4145075b4c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 3 deletions

View file

@ -167,14 +167,12 @@
"required": [
"identifiant_de_l_etablissement",
"nom_etablissement",
"type_contrat_prive",
"nom_commune",
"code_commune",
"libelle_academie",
"code_academie",
"libelle_nature",
"code_nature",
"adresse_1",
"code_postal",
"libelle_region",
"code_region"

View file

@ -35,7 +35,8 @@
%tr
%th.libelle Adresse :
%td
= champ.data['adresse_1']
- if champ.data['adresse_1'].present?
= champ.data['adresse_1']
%br
= "#{champ.data['code_postal']} #{champ.data['nom_commune']}"
%br