2025-02-14 14:25:23 +01:00

38 lines
1.1 KiB
Twig

{% extends 'base.html.twig' %}
{% block title %}SerieFestival index{% endblock %}
{% block body %}
<h1>SerieFestival index</h1>
<table class="table">
<thead>
<tr>
<th>Id</th>
<th>Name</th>
<th>DateCreation</th>
<th>actions</th>
</tr>
</thead>
<tbody>
{% for serie_festival in serie_festivals %}
<tr>
<td>{{ serie_festival.id }}</td>
<td>{{ serie_festival.name }}</td>
<td>{{ serie_festival.dateCreation ? serie_festival.dateCreation|date('Y-m-d') : '' }}</td>
<td>
<a href="{{ path('app_serie_festival_show', {'id': serie_festival.id}) }}">show</a>
<a href="{{ path('app_serie_festival_edit', {'id': serie_festival.id}) }}">edit</a>
</td>
</tr>
{% else %}
<tr>
<td colspan="4">no records found</td>
</tr>
{% endfor %}
</tbody>
</table>
<a href="{{ path('app_serie_festival_new') }}">Create new</a>
{% endblock %}