labels.html
708 Bytes
{% extends "base_page.html" %}
{% block content %}
<!-- Invisible span to definte wich ul and a in the navbar are actived -->
<span id="nav_actived" style="display: none">project,labels</span>
<table class="table table-hover">
<thead>
<tr>
<th scope="col" class="col-10">Labels</th>
<th scope="col" class="col-1">Éditer</th>
</tr>
</thead>
<tbody>
{% for label in labels %}
<tr>
<td>{{ label.name }}</td>
<td>{{ commons.edit_link(url_for('main.label_edit', label_id=label.id)) }}
{{ commons.delete_link( url_for('main.label_delete', label_id=label.id)) }}</td>
</tr>
{% endfor %}
</tbody>
</table>
{% endblock %}