new event form, like edit form

This commit is contained in:
Tchama 2019-01-21 09:52:59 +01:00
parent c235fb75a7
commit f71e273aae
2 changed files with 11 additions and 3 deletions

View File

@ -25,7 +25,7 @@
{{ form_row(edit_form.moderator) }}
<ul class="record_actions">
<li>
<li class="cancel">
<a href="{{ path('chill_event_list_most_recent') }}" class="sc-button bt-cancel">
{{ 'Back to the most recent events'|trans }}
</a>

View File

@ -10,13 +10,21 @@
{{ form_row(form.circle) }}
{{ form_row(form.center) }}
{{ form_row(form.name) }}
{# TODO temporaire: chaque fois qu'on a une date + une heure, on veut afficher sur une seule ligne #}
<style>
div#event_date { display: flex; flex-direction: row; flex-wrap: nowrap; }
div#event_date input#event_date_date { margin-right: 1em; }
div#event_date div#event_date_time { min-width: 140px; }
</style>
{{ form_row(form.date) }}
{{ form_row(form.type, { 'label': 'Event type' }) }}
{{ form_row(form.moderator) }}
<ul class="record_actions">
<li>
<li class="cancel">
<a href="{{ path('chill_event_list_most_recent') }}" class="sc-button bt-cancel">
<i class="fa fa-arrow-left"></i>
{{ 'Back to the most recent events'|trans }}
</a>
</li>