summaryrefslogtreecommitdiff
path: root/project/templates/registration/download-csv.html
blob: 69df90f98a72bfa5a00d39d993e48cae24e80734 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
{% extends "admin/base_site.html" %}

{% block title %}Download Registrations{% endblock %}

{% block content %}
<h1>Edit Registration</h1>

{% include '_errors.html' %}

<form action=""
      method="post">
    <fieldset>
        <legend>Select Registrations</legend>
        <table class="scipycon-default">
            {{ form }}
        </table>
        <button class="button left"
                type="submit">
            Submit
        </button>
    </fieldset>
</form>

{% if no_results %}
<p>{{ no_results }}</p>
{% endif %}
{% if results %}
<table>
{% for reg in results %}
<tr>
    <td>{{reg.registrant.get_full_name }}</td>
    <td>{{reg.registrant.email }}</td>
    <td>{{reg.amount }}</td>
    <td>{{reg.payment }}</td>
    <td>{{reg.party }}</td>
</tr>
{% endfor %}
</table>
{% endif %}
{% endblock content %}