Merge pull request #5856 from tchak/fix-annuaire-education
Make some annuaire education fields optional
This commit is contained in:
commit
c7c2ebd201
2 changed files with 5 additions and 5 deletions
|
@ -167,11 +167,9 @@
|
||||||
"required": [
|
"required": [
|
||||||
"identifiant_de_l_etablissement",
|
"identifiant_de_l_etablissement",
|
||||||
"nom_etablissement",
|
"nom_etablissement",
|
||||||
"statut_public_prive",
|
|
||||||
"type_contrat_prive",
|
"type_contrat_prive",
|
||||||
"nom_commune",
|
"nom_commune",
|
||||||
"code_commune",
|
"code_commune",
|
||||||
"nombre_d_eleves",
|
|
||||||
"siren_siret",
|
"siren_siret",
|
||||||
"libelle_academie",
|
"libelle_academie",
|
||||||
"code_academie",
|
"code_academie",
|
||||||
|
|
|
@ -25,9 +25,11 @@
|
||||||
%tr
|
%tr
|
||||||
%th.libelle Type de contrat privé :
|
%th.libelle Type de contrat privé :
|
||||||
%td= champ.data['type_contrat_prive']
|
%td= champ.data['type_contrat_prive']
|
||||||
%tr
|
|
||||||
%th.libelle Nombre d’élèves :
|
- if champ.data['nombre_d_eleves'].present?
|
||||||
%td= champ.data['nombre_d_eleves']
|
%tr
|
||||||
|
%th.libelle Nombre d’élèves :
|
||||||
|
%td= champ.data['nombre_d_eleves']
|
||||||
|
|
||||||
%tr
|
%tr
|
||||||
%th.libelle Adresse :
|
%th.libelle Adresse :
|
||||||
|
|
Loading…
Reference in a new issue