mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-13 13:54:23 +00:00
Basic form to create an Event
This commit is contained in:
parent
26fa6a2c56
commit
041c43a936
@ -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')
|
||||
;
|
||||
}
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
{% extends '::base.html.twig' %}
|
||||
{% extends 'ChillEventBundle::layout.html.twig' %}
|
||||
|
||||
{% block body -%}
|
||||
{% block event_content -%}
|
||||
<h1>Event creation</h1>
|
||||
|
||||
{{ form(form) }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user