{% extends 'base.html.twig' %}
{% block title %}Status index{% endblock %}
{% block body %}
<h1>Status index</h1>
<table class="table">
<thead>
<tr>
<th>Id</th>
<th>Name</th>
<th>B2lId</th>
<th>Color</th>
<th>Type</th>
<th>actions</th>
</tr>
</thead>
<tbody>
{% for status in statuses %}
<tr>
<td>{{ status.id }}</td>
<td>{{ status.name }}</td>
<td>{{ status.b2lId }}</td>
<td>{{ status.color }}</td>
<td>{{ status.type }}</td>
<td>
<a href="{{ path('app_status_show', {'id': status.id}) }}">show</a>
<a href="{{ path('app_status_edit', {'id': status.id}) }}">edit</a>
</td>
</tr>
{% else %}
<tr>
<td colspan="6">no records found</td>
</tr>
{% endfor %}
</tbody>
</table>
<a href="{{ path('app_status_new') }}">Create new</a>
{% endblock %}