<table class="records_list">
<thead>
<tr>
<th>Title</th>
</tr>
</thead>
<tbody>
{% for novel in entities %}
<tr>
<td>
<a href="{{ path('novel_show', { 'slug': novel.slug }) }}">
{{ novel }}
</a>
</td>
</tr>
{% endfor %}
</tbody>
</table>
Listing 34.12. Widok odpowiedzialny za prezentację kolekcji obiektów klasy Novel w postaci tabelki hiperłączy
Rozdział 34. Relacje, akcje index i show oraz widoki częściowe