Make siren_siret on annuaire education optional

This commit is contained in:
Paul Chavard 2021-01-27 15:25:58 +01:00
parent c7c2ebd201
commit df475dc306
2 changed files with 4 additions and 4 deletions

View file

@ -170,7 +170,6 @@
"type_contrat_prive",
"nom_commune",
"code_commune",
"siren_siret",
"libelle_academie",
"code_academie",
"libelle_nature",

View file

@ -9,9 +9,10 @@
%tr
%th.libelle Lidentifiant de letablissement :
%td= champ.data['identifiant_de_l_etablissement']
%tr
%th.libelle SIREN/SIRET :
%td= champ.data['siren_siret']
- if champ.data['siren_siret'].present?
%tr
%th.libelle SIREN/SIRET :
%td= champ.data['siren_siret']
%tr
%th.libelle Commune :
%td= "#{champ.data['nom_commune']} (#{champ.data['code_commune']})"