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('memo', 'textarea', array('required' => false))
|
||||||
->add('email', 'textarea', array('required' => false))
|
->add('email', 'textarea', array('required' => false))
|
||||||
->add('countryOfBirth', 'entity', array(
|
->add('countryOfBirth', 'select2_chill_country', array(
|
||||||
'required' => false,
|
'required' => false
|
||||||
'class' => 'Chill\MainBundle\Entity\Country'
|
|
||||||
))
|
))
|
||||||
->add('nationality', 'entity', array(
|
->add('nationality', 'select2_chill_country', array(
|
||||||
'required' => false,
|
'required' => false
|
||||||
'class' => 'Chill\MainBundle\Entity\Country'
|
|
||||||
))
|
))
|
||||||
;
|
;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user