Show sectioned reports

This commit is contained in:
Christopher Neugebauer 2016-09-03 13:51:21 +10:00
parent b6222c5eba
commit 32340c9a98

View file

@ -15,7 +15,9 @@
{% endif %} {% endif %}
<hr /> <hr />
<table class="table table-striped"> {% for report in reports %}
<h3>{{ report.title }}</h3>
<table class="table table-striped">
<tr> <tr>
{% for heading in report.headings %} {% for heading in report.headings %}
<th>{{ heading }}</th> <th>{{ heading }}</th>
@ -33,6 +35,7 @@
{% endfor %} {% endfor %}
</tr> </tr>
{% endfor %} {% endfor %}
</table> </table>
{% endfor %}
{% endblock %} {% endblock %}