project/templates/registration/download-csv.html
changeset 1 fda1c66b25f9
equal deleted inserted replaced
0:9a77edda77b7 1:fda1c66b25f9
       
     1 {% extends "admin/base_site.html" %}
       
     2 
       
     3 {% block title %}Download Registrations{% endblock %}
       
     4 
       
     5 {% block content %}
       
     6 <h1>Edit Registration</h1>
       
     7 
       
     8 {% include '_errors.html' %}
       
     9 
       
    10 <form action=""
       
    11       method="post">
       
    12     <fieldset>
       
    13         <legend>Select Registrations</legend>
       
    14         <table class="kiwipycon-default">
       
    15             {{ form }}
       
    16         </table>
       
    17         <button class="button left"
       
    18                 type="submit">
       
    19             Submit
       
    20         </button>
       
    21     </fieldset>
       
    22 </form>
       
    23 
       
    24 {% if no_results %}
       
    25 <p>{{ no_results }}</p>
       
    26 {% endif %}
       
    27 {% if results %}
       
    28 <table>
       
    29 {% for reg in results %}
       
    30 <tr>
       
    31     <td>{{reg.registrant.get_full_name }}</td>
       
    32     <td>{{reg.registrant.email }}</td>
       
    33     <td>{{reg.amount }}</td>
       
    34     <td>{{reg.payment }}</td>
       
    35     <td>{{reg.party }}</td>
       
    36 </tr>
       
    37 {% endfor %}
       
    38 </table>
       
    39 {% endif %}
       
    40 {% endblock content %}
       
    41