Listing 34.14. Widok odpowiedzialny za prezentację kolekcji obiektów klasy Method w postaci tabelki hiperłączy
<table class="records_list">
  <thead>
    <tr>
      <th>Name</th>
    </tr>
  </thead>
  <tbody>
    {% for method in entities %}
      <tr>
        <td>
          <a href="{{ path('method_show', { 'slug': method.slug }) }}">
            {{ method }}
          </a>
        </td>
      </tr>
    {% endfor %}
  </tbody>
</table>