mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-23 08:03:49 +00:00
Person attibutes name and surname become firstname and lastname
This commit is contained in:
@@ -37,8 +37,8 @@ class PersonType extends AbstractType
|
||||
public function buildForm(FormBuilderInterface $builder, array $options)
|
||||
{
|
||||
$builder
|
||||
->add('name')
|
||||
->add('surname')
|
||||
->add('firstName')
|
||||
->add('lastName')
|
||||
->add('dateOfBirth', 'date', array('required' => false, 'widget' => 'single_text', 'format' => 'dd-MM-yyyy'))
|
||||
->add('placeOfBirth', 'text', array('required' => false))
|
||||
->add('genre', new GenderType(), array(
|
||||
|
Reference in New Issue
Block a user