equal
deleted
inserted
replaced
|
1 {% extends "base.html" %} |
|
2 |
|
3 {% block title %}Manage Payments - {% endblock %} |
|
4 |
|
5 {% block content %} |
|
6 <h1>Manage Payments</h1> |
|
7 |
|
8 <form action="" method="post"> |
|
9 |
|
10 <fieldset> |
|
11 <legend>Payment Details</legend> |
|
12 <table class="scipycon-default"> |
|
13 {% for registrant in registrants %} |
|
14 <tr class="{% cycle odd,even %}"> |
|
15 <th> |
|
16 <label for="id_{{ registrant.registrant.id }}_label"> |
|
17 {{ registrant.registrant.get_full_name }} |
|
18 </label> |
|
19 </th> |
|
20 <td> |
|
21 {{ field.errors }} |
|
22 <input id="user_id_{{ registrant.registrant.id }}" |
|
23 name="registrant_id_{{ registrant.registrant.id }}" |
|
24 type="checkbox" name="paid" |
|
25 {% if registrant.registrant.payment_set.get.paid %} |
|
26 checked=checked |
|
27 {% endif %} |
|
28 /><br /> |
|
29 </td> |
|
30 </tr> |
|
31 {% endfor %} |
|
32 <tr> |
|
33 <th> |
|
34 <button class="button left" type="submit">Submit Payment Status</button> |
|
35 </th> |
|
36 </tr> |
|
37 </table> |
|
38 </fieldset> |
|
39 |
|
40 </form> |
|
41 {% endblock content %} |