mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-28 10:33:49 +00:00
fix new events page depreciations
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
namespace Chill\EventBundle\Form;
|
||||
|
||||
use Symfony\Component\Form\AbstractType;
|
||||
use Symfony\Component\Form\Extension\Core\Type\DateType;
|
||||
use Symfony\Component\Form\FormBuilderInterface;
|
||||
use Symfony\Component\OptionsResolver\OptionsResolverInterface;
|
||||
use Chill\EventBundle\Form\Type\PickEventType;
|
||||
@@ -68,10 +69,7 @@ class EventType extends AbstractType
|
||||
|
||||
$builder
|
||||
->add('name')
|
||||
->add(
|
||||
'date',
|
||||
'date',
|
||||
array(
|
||||
->add('date', DateType::class, array(
|
||||
'required' => true,
|
||||
'widget' => 'single_text',
|
||||
'format' => 'dd-MM-yyyy'
|
||||
|
Reference in New Issue
Block a user