@@ -3,29 +3,36 @@
{% load registrasion_tags %}
{% block body %}
<h2>{{ title }}</h2>
<form method="GET">
{{ form | bootstrap}}
<br/>
<input type="submit">
</form>
{% if form %}
{% endif %}
<hr />
<table class="table table-striped">
<tr>
{% for heading in report.headings %}
<th>{{ heading }}</th>
{% endfor %}
</tr>
{% for line in report.data %}
{% for item in line %}
<td>{{ item }}</td>
<td>
{% if report.link_view and forloop.counter0 == 0 %}
<a href="{% url report.link_view item %}">
{{ item }}
</td>
</table>
{% endblock %}