summaryrefslogtreecommitdiff
path: root/project/templates/registration/download-csv.html
diff options
context:
space:
mode:
authorParth Buch2012-08-28 17:03:37 +0530
committerParth Buch2012-08-28 17:03:37 +0530
commit7e38fd922a8dd4742d09758cd1c94fb0302045d3 (patch)
treeb43d6ea8c47fb80e09e5e0bfd8759ac7d697addf /project/templates/registration/download-csv.html
downloadscipywebsite-7e38fd922a8dd4742d09758cd1c94fb0302045d3.tar.gz
scipywebsite-7e38fd922a8dd4742d09758cd1c94fb0302045d3.tar.bz2
scipywebsite-7e38fd922a8dd4742d09758cd1c94fb0302045d3.zip
Reboot for scipy 2012
Diffstat (limited to 'project/templates/registration/download-csv.html')
-rw-r--r--project/templates/registration/download-csv.html41
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..69df90f
--- /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="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 %}
+