templates/send_acco_cnf.html
author nishanth
Wed, 21 Jul 2010 17:23:57 +0530
branchanoop
changeset 156 cebb6ffb5f83
parent 153 55f338569133
child 176 faa42e8fa399
permissions -rw-r--r--
created the POST part of view. hav to implement the sending email part
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 %}
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
     6
<form action="" method=post>
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
     7
Not Selected ppl: {{not_selected.count}}<br >
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
     8
<table cellspacing=2 cellpadding=2>
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
     9
{% for m in not_selected %}
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    10
<tr>
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    11
<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
    12
<td> {{m}} </td>
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    13
<td> {{m.gender}} </td>
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    14
<td> {{m.profession}}</td>
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    15
<td> {{m.affiliated_to}} </td>
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    16
</tr>
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    17
{% endfor %}
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    18
</table>
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    19
<br />
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    20
Selected but not Confirmed Ppl: {{selected_not_confirmed.count}}<br />
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    21
<table cellspacing=2 cellpadding=2>
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    22
{% for m in selected_not_confirmed %}
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    23
<tr>
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    24
<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
    25
<td> {{m}} </td>
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    26
<td> {{m.gender}} </td>
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    27
<td> {{m.profession}}</td>
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    28
<td> {{m.affiliated_to}} </td>
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    29
</tr>
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    30
{% endfor %}
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    31
</table>
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    32
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    33
Rejected Ppl: {{rejected.count}}<br />
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    34
<table cellspacing=2 cellpadding=2>
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    35
{% for m in rejected %}
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    36
<tr>
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    37
<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
    38
<td> {{m}} </td>
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    39
<td> {{m.gender}} </td>
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    40
<td> {{m.profession}}</td>
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    41
<td> {{m.affiliated_to}} </td>
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    42
</tr>
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    43
{% endfor %}
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    44
</table>
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    45
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    46
<input type=submit value="Send confirmation email"  />
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    47
</form>
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    48
<br /><br />
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    49
Selected and confirmed Ppl: {{selected_confirmed.count}}<br />
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    50
<table cellspacing=2 cellpadding=2>
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    51
{% for m in selected_confirmed %}
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    52
<tr>
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    53
<td> {{m}} </td>
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    54
<td> {{m.gender}} </td>
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    55
<td> {{m.profession}}</td>
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    56
<td> {{m.affiliated_to}} </td>
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    57
</tr>
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    58
{% endfor %}
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    59
</table>
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    60
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    61
{% endblock %}
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    62