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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
153
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
     1
{% extends 'base.html' %}
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
     2
{% block title %}
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
     3
Send Accomodation Confirmation
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
     4
{% endblock %}
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
     5
{% block content %}
177
bbcf2a7d8b6b included message field in the form in template
nishanth
parents: 176
diff changeset
     6
<br />
bbcf2a7d8b6b included message field in the form in template
nishanth
parents: 176
diff changeset
     7
<form action="" method=post><form action="" method=post>
bbcf2a7d8b6b included message field in the form in template
nishanth
parents: 176
diff changeset
     8
Dear so and so,<br />
bbcf2a7d8b6b included message field in the form in template
nishanth
parents: 176
diff changeset
     9
<br/>
bbcf2a7d8b6b included message field in the form in template
nishanth
parents: 176
diff changeset
    10
Your request for accomodation during Sage Days 25, India has been approved.
bbcf2a7d8b6b included message field in the form in template
nishanth
parents: 176
diff changeset
    11
<br />
bbcf2a7d8b6b included message field in the form in template
nishanth
parents: 176
diff changeset
    12
message:<br />
bbcf2a7d8b6b included message field in the form in template
nishanth
parents: 176
diff changeset
    13
<textarea name="message" rows=15 cols=40></textarea>
bbcf2a7d8b6b included message field in the form in template
nishanth
parents: 176
diff changeset
    14
153
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    15
Not Selected ppl: {{not_selected.count}}<br >
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    16
<table cellspacing=2 cellpadding=2>
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    17
{% for m in not_selected %}
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    18
<tr>
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    19
<td> <input type="checkbox" name="selected_users" value="{{m.id}}" id="id_selected_users_0" /> </td>
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    20
<td> {{m}} </td>
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    21
<td> {{m.gender}} </td>
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    22
<td> {{m.profession}}</td>
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    23
<td> {{m.affiliated_to}} </td>
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    24
</tr>
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    25
{% endfor %}
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    26
</table>
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    27
<br />
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    28
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    29
Rejected Ppl: {{rejected.count}}<br />
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    30
<table cellspacing=2 cellpadding=2>
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    31
{% for m in rejected %}
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    32
<tr>
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    33
<td> <input type="checkbox" name="selected_users" value="{{m.id}}" id="id_selected_users_0" /> </td>
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    34
<td> {{m}} </td>
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    35
<td> {{m.gender}} </td>
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    36
<td> {{m.profession}}</td>
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    37
<td> {{m.affiliated_to}} </td>
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    38
</tr>
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    39
{% endfor %}
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    40
</table>
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    41
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    42
<input type=submit value="Send confirmation email"  />
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    43
</form>
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    44
<br /><br />
176
faa42e8fa399 renamed a few variables in view and made corresponding changes in template
nishanth
parents: 153
diff changeset
    45
Selected Ppl: {{selected_confirmed.count}}<br />
153
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    46
<table cellspacing=2 cellpadding=2>
176
faa42e8fa399 renamed a few variables in view and made corresponding changes in template
nishanth
parents: 153
diff changeset
    47
{% for m in selected %}
153
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    48
<tr>
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    49
<td> {{m}} </td>
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    50
<td> {{m.gender}} </td>
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    51
<td> {{m.profession}}</td>
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    52
<td> {{m.affiliated_to}} </td>
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    53
</tr>
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    54
{% endfor %}
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    55
</table>
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    56
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    57
{% endblock %}
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    58