mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-13 13:54:23 +00:00
use the new select2_chill_country type for types
[ci skip]
This commit is contained in:
parent
c505a26da4
commit
b419921fe1
@ -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
|
||||
))
|
||||
;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user