add a first step to pick center in new event form

This commit is contained in:
2019-01-28 17:51:51 +01:00
parent 6d2ea8caab
commit fda14a52e0
5 changed files with 105 additions and 6 deletions

View File

@@ -0,0 +1,26 @@
{% 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.center_id) }}
<ul class="record_actions">
<li class="cancel">
<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 green' } }) }}
</li>
</ul>
{{ form_end(form) }}
{% endblock %}