|
1 {% extends 'base.html' %} |
|
2 {% block title %} |
|
3 Send Accomodation Confirmation |
|
4 {% endblock %} |
|
5 {% block content %} |
|
6 <form action="" method=post> |
|
7 Not Selected ppl: {{not_selected.count}}<br > |
|
8 <table cellspacing=2 cellpadding=2> |
|
9 {% for m in not_selected %} |
|
10 <tr> |
|
11 <td> <input type="checkbox" name="selected_users" value="{{m.id}}" id="id_selected_users_0" /> </td> |
|
12 <td> {{m}} </td> |
|
13 <td> {{m.gender}} </td> |
|
14 <td> {{m.profession}}</td> |
|
15 <td> {{m.affiliated_to}} </td> |
|
16 </tr> |
|
17 {% endfor %} |
|
18 </table> |
|
19 <br /> |
|
20 Selected but not Confirmed Ppl: {{selected_not_confirmed.count}}<br /> |
|
21 <table cellspacing=2 cellpadding=2> |
|
22 {% for m in selected_not_confirmed %} |
|
23 <tr> |
|
24 <td> <input type="checkbox" name="selected_users" value="{{m.id}}" id="id_selected_users_0" /> </td> |
|
25 <td> {{m}} </td> |
|
26 <td> {{m.gender}} </td> |
|
27 <td> {{m.profession}}</td> |
|
28 <td> {{m.affiliated_to}} </td> |
|
29 </tr> |
|
30 {% endfor %} |
|
31 </table> |
|
32 |
|
33 Rejected Ppl: {{rejected.count}}<br /> |
|
34 <table cellspacing=2 cellpadding=2> |
|
35 {% for m in rejected %} |
|
36 <tr> |
|
37 <td> <input type="checkbox" name="selected_users" value="{{m.id}}" id="id_selected_users_0" /> </td> |
|
38 <td> {{m}} </td> |
|
39 <td> {{m.gender}} </td> |
|
40 <td> {{m.profession}}</td> |
|
41 <td> {{m.affiliated_to}} </td> |
|
42 </tr> |
|
43 {% endfor %} |
|
44 </table> |
|
45 |
|
46 <input type=submit value="Send confirmation email" /> |
|
47 </form> |
|
48 <br /><br /> |
|
49 Selected and confirmed Ppl: {{selected_confirmed.count}}<br /> |
|
50 <table cellspacing=2 cellpadding=2> |
|
51 {% for m in selected_confirmed %} |
|
52 <tr> |
|
53 <td> {{m}} </td> |
|
54 <td> {{m.gender}} </td> |
|
55 <td> {{m.profession}}</td> |
|
56 <td> {{m.affiliated_to}} </td> |
|
57 </tr> |
|
58 {% endfor %} |
|
59 </table> |
|
60 |
|
61 {% endblock %} |
|
62 |