templates/jeux/index.html.twig line 1

Open in your IDE?
  1. {% extends 'base.html.twig' %}
  2. {% block title %}Jeux index{% endblock %}
  3. {% block body %}
  4.     <h1>Jeux index</h1>
  5.     <table class="table">
  6.         <thead>
  7.             <tr>
  8.                 <th>Id</th>
  9.                 <th>Nom</th>
  10.                 <th>actions</th>
  11.             </tr>
  12.         </thead>
  13.         <tbody>
  14.         {% for jeux in jeuxes %}
  15.             <tr>
  16.                 <td>{{ jeux.id }}</td>
  17.                 <td>{{ jeux.nom }}</td>
  18.                 <td>
  19.                     <a href="{{ path('app_jeux_show', {'id': jeux.id}) }}">show</a>
  20.                     <a href="{{ path('app_jeux_edit', {'id': jeux.id}) }}">edit</a>
  21.                 </td>
  22.             </tr>
  23.         {% else %}
  24.             <tr>
  25.                 <td colspan="3">no records found</td>
  26.             </tr>
  27.         {% endfor %}
  28.         </tbody>
  29.     </table>
  30.     <a href="{{ path('app_jeux_new') }}">Create new</a>
  31. {% endblock %}