Commit 19de34b4 authored by Julien Fastré's avatar Julien Fastré

use fqdn for CreationPersonType

parent 7f6f41a2
......@@ -27,7 +27,7 @@ use Symfony\Component\OptionsResolver\OptionsResolver;
use Symfony\Component\Form\Extension\Core\DataTransformer\DateTimeToStringTransformer;
use Symfony\Component\Form\Extension\Core\Type\HiddenType;
use Symfony\Component\Form\Extension\Core\Type\DateType;
use Chill\MainBundle\Form\Type\CenterType;
use Chill\PersonBundle\Form\Type\GenderType;
use Chill\MainBundle\Form\Type\DataTransformer\CenterTransformer;
......@@ -101,7 +101,7 @@ class CreationPersonType extends AbstractType
'data' => $options['form_status'],
'mapped' => false
))
->add('center', 'center')
->add('center', CenterType::class)
;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment