You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
857 B

<div class="table-responsive">
<table class="table table-dark table-striped-columns table-hover">
<thead>
{{ info }}
<tr>
{% for title in titles %}
<th scope="col">{{ title }}</th>
{% endfor %}
</tr>
</thead>
<tbody class="table-group-divider">
{% for item in table %}
<tr>
{% for title in titles %}
{% if title == 'id' %}
<th scope="col"><a href="{{ item_link }}{{ item|attr(title) }}">{{ item|attr(title) }}</a></th>
{% else %}
<th scope="col">{{ item|attr(title) }}</th>
{% endif %}
{% endfor %}
</tr>
{% endfor %}
</tbody>
</table>
</div>