Clean database, to avoid double participations on event

This commit is contained in:
2023-11-28 13:00:04 +01:00
parent 6b7b2ae522
commit 6d04e477f8
4 changed files with 48 additions and 33 deletions

View File

@@ -15,14 +15,10 @@
{{ form_row(edit_form.type, { 'label': 'Event type' }) }}
{{ form_row(edit_form.moderator) }}
<ul class="record_actions">
<ul class="record_actions sticky-form-buttons">
<li class="cancel">
{% set returnPath = app.request.get('return_path') %}
{% set returnLabel = app.request.get('return_label') %}
<a href="{{ returnPath |default( path('chill_event_list_most_recent') ) }}" class="btn btn-cancel">
{{ returnLabel |default('Back to the most recent events'|trans) }}
<a href="{{ chill_path_add_return_path('chill_event_event_list') }}" class="btn btn-cancel">
{{ 'List of events'|trans|chill_return_path_label }}
</a>
</li>
<li>