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": [
|
||||
"identifiant_de_l_etablissement",
|
||||
"nom_etablissement",
|
||||
"statut_public_prive",
|
||||
"type_contrat_prive",
|
||||
"nom_commune",
|
||||
"code_commune",
|
||||
"nombre_d_eleves",
|
||||
"siren_siret",
|
||||
"libelle_academie",
|
||||
"code_academie",
|
||||
|
|
|
@ -25,9 +25,11 @@
|
|||
%tr
|
||||
%th.libelle Type de contrat privé :
|
||||
%td= champ.data['type_contrat_prive']
|
||||
%tr
|
||||
%th.libelle Nombre d’élèves :
|
||||
%td= champ.data['nombre_d_eleves']
|
||||
|
||||
- if champ.data['nombre_d_eleves'].present?
|
||||
%tr
|
||||
%th.libelle Nombre d’élèves :
|
||||
%td= champ.data['nombre_d_eleves']
|
||||
|
||||
%tr
|
||||
%th.libelle Adresse :
|
||||
|
|
Loading…
Reference in a new issue