Adding type to the creation event form

This commit is contained in:
Marc Ducobu
2016-03-22 20:34:34 +01:00
parent 041c43a936
commit 888bcad81a
4 changed files with 80 additions and 1 deletions

View File

@@ -5,6 +5,7 @@ namespace Chill\EventBundle\Form;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\OptionsResolver\OptionsResolverInterface;
use Chill\EventBundle\Form\Type\TranslatableEventType;
class EventType extends AbstractType
{
@@ -26,7 +27,7 @@ class EventType extends AbstractType
)
)
->add('center')
//->add('type')
->add('type', TranslatableEventType::class)
//->add('circle')
;
}