diff options
Diffstat (limited to 'project/templates/registration/download-csv.html')
-rw-r--r-- | project/templates/registration/download-csv.html | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/project/templates/registration/download-csv.html b/project/templates/registration/download-csv.html new file mode 100644 index 0000000..e23ae50 --- /dev/null +++ b/project/templates/registration/download-csv.html @@ -0,0 +1,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="kiwipycon-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 %} + |