{% extends "layout.html" %}
{% block content %}

{% for table in tables %}
<h2>{{tablesLabels[loop.index0]}}</h2>
<table
data-classes="table table-bordered table-striped"
data-toggle="table"
data-thead-classes="table-dark"
data-search="true"
data-show-toggle="true"
data-show-columns="true"
data-show-export="true"
data-export-types="['json', 'xml', 'csv', 'txt', 'sql', 'pdf']">
  {{table|safe}}
</table>
<br>
<hr>
<br>
{% else %}
No parts in this semster yet!
{% endfor %}

{% endblock content %}