Update path to twig template with new syntax

This commit is contained in:
2023-07-28 12:16:50 +02:00
parent 55b8502896
commit e839b03cc9
111 changed files with 220 additions and 223 deletions

View File

@@ -1,6 +1,6 @@
{% extends '@ChillEvent/layout.html.twig' %}
{% import 'ChillPersonBundle:Person:macro.html.twig' as person_macro %}
{% import '@ChillPerson/Person/macro.html.twig' as person_macro %}
{% block event_content -%}
<div class="col-10">
@@ -18,11 +18,11 @@
</tr>
</tbody>
</table>
<h2 class="mt-5">{{ 'Participations'|trans }}</h2>
{{ form_start(form) }}
<table class="table">
<thead>
<tr>
@@ -47,7 +47,7 @@
{% endfor %}
</tbody>
</table>
<ul class="record_actions">
<li>
<a href="{{ path('chill_event__event_show', { 'event_id' : event.id } ) }}" class="btn btn-cancel">
@@ -58,7 +58,7 @@
{{ form_widget(form.submit, { 'attr' : { 'class' : 'btn btn-edit' } } ) }}
</li>
</ul>
{{ form_end(form) }}
</div>
{% endblock %}