person creation: fix bug + improve multi_center

The center is hidden in page "check if the person exists in the db"
This commit is contained in:
2015-12-16 12:19:16 +01:00
parent 07ed6a9751
commit b45b529dba
3 changed files with 53 additions and 25 deletions

View File

@@ -56,3 +56,10 @@ services:
tags:
- { name: validator.constraint_validator, alias: birthdate_not_before }
chill.main.form.person_creation:
class: Chill\PersonBundle\Form\CreationPersonType
arguments:
- "@chill.main.form.data_transformer.center_transformer"
tags:
- { name: form.type, alias: chill_personbundle_person_creation }