templates/send_acco_cnf.html
author nishanth
Mon, 26 Jul 2010 17:49:47 +0530
branchanoop
changeset 177 bbcf2a7d8b6b
parent 176 faa42e8fa399
child 178 f87248c912b4
permissions -rw-r--r--
included message field in the form in template

{% 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=40></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 %}