[alt names] add alt names on person creation form

This commit is contained in:
2020-02-03 12:47:55 +01:00
parent 289afcdd0c
commit 5154039182
8 changed files with 85 additions and 27 deletions

View File

@@ -39,11 +39,3 @@ services:
- "%chill_person.validation.birtdate_not_before%"
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 }

View File

@@ -1,11 +1,25 @@
services:
chill.person.form.person_creation:
class: Chill\PersonBundle\Form\PersonType
Chill\PersonBundle\Form\PersonType:
arguments:
- "%chill_person.person_fields%"
- '%chill_person.person_fields%'
- '@Chill\PersonBundle\Config\ConfigPersonAltNamesHelper'
tags:
- { name: form.type }
chill.person.form.person_creation:
alias: 'Chill\PersonBundle\Form\PersonType'
deprecated: true
Chill\PersonBundle\Form\CreationPersonType:
arguments:
- '@chill.main.form.data_transformer.center_transformer'
- '@Chill\PersonBundle\Config\ConfigPersonAltNamesHelper'
tags:
- { name: form.type }
chill.main.form.person_creation:
alias: 'Chill\PersonBundle\Form\CreationPersonType'
deprecated: true
chill.person.accompanying_period_closing_motive:
class: Chill\PersonBundle\Form\Type\ClosingMotiveType