mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-14 14:24:24 +00:00
correct moderator field select in new form
This commit is contained in:
parent
a36c612542
commit
1cf02cd1cc
@ -3,7 +3,6 @@
|
|||||||
namespace Chill\EventBundle\Form;
|
namespace Chill\EventBundle\Form;
|
||||||
|
|
||||||
use Chill\MainBundle\Form\Type\ChillDateTimeType;
|
use Chill\MainBundle\Form\Type\ChillDateTimeType;
|
||||||
use Chill\PersonBundle\Entity\Person;
|
|
||||||
use Symfony\Component\Form\AbstractType;
|
use Symfony\Component\Form\AbstractType;
|
||||||
use Symfony\Component\Form\FormBuilderInterface;
|
use Symfony\Component\Form\FormBuilderInterface;
|
||||||
use Symfony\Component\OptionsResolver\OptionsResolverInterface;
|
use Symfony\Component\OptionsResolver\OptionsResolverInterface;
|
||||||
@ -105,7 +104,7 @@ class EventType extends AbstractType
|
|||||||
))
|
))
|
||||||
->add('type', PickEventType::class)
|
->add('type', PickEventType::class)
|
||||||
->add('moderator', EntityType::class, array(
|
->add('moderator', EntityType::class, array(
|
||||||
'class' => Person::class,
|
'class' => User::class,
|
||||||
'required' => false,
|
'required' => false,
|
||||||
'placeholder' => ''
|
'placeholder' => ''
|
||||||
))
|
))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user