Julien Fastré d8de53ca3c rename 'label' to 'name'.
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
2016-03-24 23:30:37 +01:00

31 lines
909 B
Twig

{% extends 'ChillEventBundle::layout.html.twig' %}
{% block title 'Event edit'|trans %}
{% block event_content -%}
<h1>{{ 'Event edit'|trans }}</h1>
{{ form_start(edit_form) }}
{{ form_errors(edit_form) }}
{{ form_row(edit_form.circle) }}
{% if edit_form.center is defined %}
{{ form_row(edit_form.center) }}
{% endif %}
{{ form_row(edit_form.name) }}
{{ form_row(edit_form.date) }}
{{ form_row(edit_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(edit_form.submit, { 'attr' : { 'class' : 'sc-button bt-update' } }) }}
</li>
</ul>
{{ form_end(edit_form) }}
{% endblock %}