templates/status/index.html.twig line 1

Open in your IDE?
  1. {% extends 'base.html.twig' %}
  2. {% block title %}Status index{% endblock %}
  3. {% block body %}
  4.     <h1>Status index</h1>
  5.     <table class="table">
  6.         <thead>
  7.             <tr>
  8.                 <th>Id</th>
  9.                 <th>Name</th>
  10.                 <th>B2lId</th>
  11.                 <th>Color</th>
  12.                 <th>Type</th>
  13.                 <th>actions</th>
  14.             </tr>
  15.         </thead>
  16.         <tbody>
  17.         {% for status in statuses %}
  18.             <tr>
  19.                 <td>{{ status.id }}</td>
  20.                 <td>{{ status.name }}</td>
  21.                 <td>{{ status.b2lId }}</td>
  22.                 <td>{{ status.color }}</td>
  23.                 <td>{{ status.type }}</td>
  24.                 <td>
  25.                     <a href="{{ path('app_status_show', {'id': status.id}) }}">show</a>
  26.                     <a href="{{ path('app_status_edit', {'id': status.id}) }}">edit</a>
  27.                 </td>
  28.             </tr>
  29.         {% else %}
  30.             <tr>
  31.                 <td colspan="6">no records found</td>
  32.             </tr>
  33.         {% endfor %}
  34.         </tbody>
  35.     </table>
  36.     <a href="{{ path('app_status_new') }}">Create new</a>
  37. {% endblock %}