mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-21 17:54:24 +00:00
Warning : this commit require to rename some table column, but the original Version file has been update. If you do not care to loose your date, you may run : ``` php app/console doctrine:migrations:execute --down 20160318111334 php app/console doctrine:migrations:execute --up 20160318111334 php app/console doctrine:cache:metadata #(if you have a cache for doctrine meta date) ``` close #20
29 lines
815 B
Twig
29 lines
815 B
Twig
{% extends 'ChillEventBundle::layout.html.twig' %}
|
|
|
|
{% block title 'Event creation'|trans %}
|
|
|
|
{% block event_content -%}
|
|
<h1>{{ 'Event creation'|trans }}</h1>
|
|
|
|
{{ form_start(form) }}
|
|
{{ form_errors(form) }}
|
|
{{ form_row(form.circle) }}
|
|
{{ form_row(form.center) }}
|
|
{{ form_row(form.name) }}
|
|
{{ form_row(form.date) }}
|
|
{{ form_row(form.type, { 'label': 'Event type' }) }}
|
|
|
|
<ul class="record_actions">
|
|
<li>
|
|
<a href="{{ path('chill_event_list_most_recent') }}" class="sc-button bt-cancel">
|
|
{{ 'Back to the most recent events'|trans }}
|
|
</a>
|
|
</li>
|
|
<li>
|
|
{{ form_widget(form.submit, { 'attr' : { 'class' : 'sc-button bt-create' } }) }}
|
|
</li>
|
|
</ul>
|
|
|
|
{{ form_end(form) }}
|
|
{% endblock %}
|