diff options
author | Parth Buch | 2012-08-28 17:03:37 +0530 |
---|---|---|
committer | Parth Buch | 2012-08-28 17:03:37 +0530 |
commit | 7e38fd922a8dd4742d09758cd1c94fb0302045d3 (patch) | |
tree | b43d6ea8c47fb80e09e5e0bfd8759ac7d697addf /project/templates/registration/download-csv.html | |
download | scipywebsite-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.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..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 %} + |