project/templates/registration/download-csv.html
author Madhusudan.C.S <madhusudancs@gmail.com>
Wed, 11 Nov 2009 15:57:57 +0530
changeset 26 e3e4bcbc7c19
parent 1 fda1c66b25f9
child 96 178b89a3ca4f
permissions -rw-r--r--
Made a small textual change in the registrations template.

{% 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 %}