diff --git a/app/schemas/etablissement-annuaire-education.json b/app/schemas/etablissement-annuaire-education.json index 2adce12ff..0ed7e6c96 100644 --- a/app/schemas/etablissement-annuaire-education.json +++ b/app/schemas/etablissement-annuaire-education.json @@ -170,7 +170,6 @@ "type_contrat_prive", "nom_commune", "code_commune", - "siren_siret", "libelle_academie", "code_academie", "libelle_nature", diff --git a/app/views/shared/champs/annuaire_education/_show.html.haml b/app/views/shared/champs/annuaire_education/_show.html.haml index baed3184d..18e458621 100644 --- a/app/views/shared/champs/annuaire_education/_show.html.haml +++ b/app/views/shared/champs/annuaire_education/_show.html.haml @@ -9,9 +9,10 @@ %tr %th.libelle L’identifiant de l’etablissement : %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']})"