{% extends "base.html" %}

{% block main_content %}
<h3>Show All People</h3>
<table id="person_table" class="table table-striped table-sm" data-toolbar="#toolbar" data-search="true">
	<thead>
		<tr class="thead-light"><th>Tag</th><th>Firstname(s)</th><th>Surname</th></tr>
	</thead>
	<tbody>
	{% for person in persons %}
		<tr><td><a href="{{url_for('person', id=person.id )}}">{{person.tag}}</td><td>{{person.firstname}}</td>
			<td>{{person.surname}}</td></tr>
	{% endfor %}
	</tbody>
</table>
{% endblock main_content %}
