root/templates/questionnaire/email.html

Revision 1, 0.9 KB (checked in by alex, 4 years ago)
  • initial djangoquest import
Line 
1{% extends "questionnaire/main.html" %}
2
3{% block main %}
4
5<div class='window'>
6
7<div class='window_title'>
8Send invitations
9</div>
10
11<div class='window_body'>
12
13{% if sent %}
14
15Successfully sent invitations for the following users:
16<ul>
17 {% for user in success %}
18  <li>{{ user }}</li>
19 {% endfor %}
20</ul>
21
22 {% if failure %}
23 Sending of invitations failed for the following users:
24 <ul>
25  {% for user in failure %}
26   <li>{{ user }}</li>
27  {% endfor %}
28 </ul>
29 {% endif %}
30
31{% else %}
32
33<form name='invitation' method='post' action=''>
34
35{% for user in users %}
36 <label>{{ user }}</label><input type='checkbox' name='{{user.id}}' /><br />
37{% endfor %}
38
39<div align='right' >
40<input class='submit' type='button' value='Send invitations' onclick='document.invitation.submit();' />
41</div>
42
43{% endif %}
44
45</form>
46<a href='/admin'>Back to Admin</a>
47</div> <!-- window body -->
48
49</div> <!-- window -->
50
51{% endblock %}
Note: See TracBrowser for help on using the browser.