mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-22 15:43:51 +00:00
use the new select2_chill_country type for types
[ci skip]
This commit is contained in:
@@ -27,13 +27,11 @@ class PersonType extends AbstractType
|
||||
))
|
||||
->add('memo', 'textarea', array('required' => false))
|
||||
->add('email', 'textarea', array('required' => false))
|
||||
->add('countryOfBirth', 'entity', array(
|
||||
'required' => false,
|
||||
'class' => 'Chill\MainBundle\Entity\Country'
|
||||
->add('countryOfBirth', 'select2_chill_country', array(
|
||||
'required' => false
|
||||
))
|
||||
->add('nationality', 'entity', array(
|
||||
'required' => false,
|
||||
'class' => 'Chill\MainBundle\Entity\Country'
|
||||
->add('nationality', 'select2_chill_country', array(
|
||||
'required' => false
|
||||
))
|
||||
;
|
||||
}
|
||||
|
Reference in New Issue
Block a user