2023-12-19 19:06:21 +01:00

28 lines
590 B
HTML

{% extends "header.html" %}
{% block title %}Personlist{% endblock %}
{% block content %}
{% if persons %}
<table class="table table-striped">
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Beschreibung</th>
<th scope="col">Aktiviert</th>
</tr>
</thead>
<tbody>
{% for person in persons %}
<tr>
<td>{{ person.name }}</td>
<td>{{ person.description }}</td>
<td>{{ person.isActive}}</td>
</tr>
{% endfor %}
</tbody>
</table>
{%else%}
Nothing found
{%endif%}
{% endblock %}