templates/send_acco_cnf.html
author anoop
Wed, 28 Jul 2010 12:46:43 +0530
branchanoop
changeset 191 d0cf203b712b
parent 178 f87248c912b4
child 197 69186c3019e9
permissions -rw-r--r--
fixed a bug in urls.py.

{% extends 'base.html' %}
{% block title %}
Send Accomodation Confirmation
{% endblock %}
{% block content %}
<br />
<form action="" method=post><form action="" method=post>
Dear so and so,<br />
<br/>
Your request for accomodation during Sage Days 25, India has been approved.
<br />
message:<br />
<textarea name="message" rows=15 cols=120></textarea>

Not Selected ppl: {{not_selected.count}}<br >
<table cellspacing=2 cellpadding=2>
{% for m in not_selected %}
<tr>
<td> <input type="checkbox" name="selected_users" value="{{m.id}}" id="id_selected_users_0" /> </td>
<td> {{m}} </td>
<td> {{m.gender}} </td>
<td> {{m.profession}}</td>
<td> {{m.affiliated_to}} </td>
</tr>
{% endfor %}
</table>
<br />

Rejected Ppl: {{rejected.count}}<br />
<table cellspacing=2 cellpadding=2>
{% for m in rejected %}
<tr>
<td> <input type="checkbox" name="selected_users" value="{{m.id}}" id="id_selected_users_0" /> </td>
<td> {{m}} </td>
<td> {{m.gender}} </td>
<td> {{m.profession}}</td>
<td> {{m.affiliated_to}} </td>
</tr>
{% endfor %}
</table>

<input type=submit value="Send confirmation email"  />
</form>
<br /><br />
Selected Ppl: {{selected_confirmed.count}}<br />
<table cellspacing=2 cellpadding=2>
{% for m in selected %}
<tr>
<td> {{m}} </td>
<td> {{m.gender}} </td>
<td> {{m.profession}}</td>
<td> {{m.affiliated_to}} </td>
</tr>
{% endfor %}
</table>

{% endblock %}