Rename PickEventType to PickEventTypeType for type of events

This commit is contained in:
2019-05-02 12:11:40 +02:00
parent ee8f303d25
commit 8a6e7396ca
4 changed files with 8 additions and 6 deletions

View File

@@ -22,7 +22,7 @@
namespace Chill\EventBundle\Form;
use Chill\EventBundle\Form\Type\PickEventType;
use Chill\EventBundle\Form\Type\PickEventTypeType;
use Chill\MainBundle\Templating\TranslatableStringHelper;
use Chill\MainBundle\Entity\User;
use Chill\MainBundle\Entity\Center;
@@ -110,7 +110,9 @@ class EventType extends AbstractType
);
},
))
->add('type', PickEventType::class)
->add('type', PickEventTypeType::class, array(
'placeholder' => ''
))
->add('moderator', UserPickerType::class, array(
'center' => $options['center'],
'role' => $options['role'],