mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-14 14:24:24 +00:00
new event form, like edit form
This commit is contained in:
parent
c235fb75a7
commit
f71e273aae
@ -25,7 +25,7 @@
|
|||||||
{{ form_row(edit_form.moderator) }}
|
{{ form_row(edit_form.moderator) }}
|
||||||
|
|
||||||
<ul class="record_actions">
|
<ul class="record_actions">
|
||||||
<li>
|
<li class="cancel">
|
||||||
<a href="{{ path('chill_event_list_most_recent') }}" class="sc-button bt-cancel">
|
<a href="{{ path('chill_event_list_most_recent') }}" class="sc-button bt-cancel">
|
||||||
{{ 'Back to the most recent events'|trans }}
|
{{ 'Back to the most recent events'|trans }}
|
||||||
</a>
|
</a>
|
||||||
|
@ -10,13 +10,21 @@
|
|||||||
{{ form_row(form.circle) }}
|
{{ form_row(form.circle) }}
|
||||||
{{ form_row(form.center) }}
|
{{ form_row(form.center) }}
|
||||||
{{ form_row(form.name) }}
|
{{ 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.date) }}
|
||||||
|
|
||||||
{{ form_row(form.type, { 'label': 'Event type' }) }}
|
{{ form_row(form.type, { 'label': 'Event type' }) }}
|
||||||
|
{{ form_row(form.moderator) }}
|
||||||
|
|
||||||
<ul class="record_actions">
|
<ul class="record_actions">
|
||||||
<li>
|
<li class="cancel">
|
||||||
<a href="{{ path('chill_event_list_most_recent') }}" class="sc-button bt-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 }}
|
{{ 'Back to the most recent events'|trans }}
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user