mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 22:53:49 +00:00
Basic form to create an Event
This commit is contained in:
@@ -16,10 +16,18 @@ class EventType extends AbstractType
|
||||
{
|
||||
$builder
|
||||
->add('label')
|
||||
->add('date')
|
||||
->add(
|
||||
'date',
|
||||
'date',
|
||||
array(
|
||||
'required' => true,
|
||||
'widget' => 'single_text',
|
||||
'format' => 'dd-MM-yyyy'
|
||||
)
|
||||
)
|
||||
->add('center')
|
||||
->add('type')
|
||||
->add('circle')
|
||||
//->add('type')
|
||||
//->add('circle')
|
||||
;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user