templates/send_wsp_cnf.html
branchanoop
changeset 161 c7c5c727a483
parent 150 c5afcbaab4e6
equal deleted inserted replaced
160:2f01af211af9 161:c7c5c727a483
       
     1 {% extends 'base.html' %}
       
     2 {% block title %}
       
     3 Send Workshop Participation Confirmation
       
     4 {% endblock %}
       
     5 {% block content %}
       
     6 <form action="" method=post>
       
     7 Not Selected ppl: {{not_selected.count}}<br >
       
     8 <table cellspacing=2 cellpadding=2>
       
     9 {% for m in not_selected %}
       
    10 <tr>
       
    11 <td> <input type="checkbox" name="selected_users" value="{{m.id}}" id="id_selected_users_0" /> </td>
       
    12 <td> {{m}} </td>
       
    13 <td> {{m.gender}} </td>
       
    14 <td> {{m.profession}}</td>
       
    15 <td> {{m.affiliated_to}} </td>
       
    16 </tr>
       
    17 {% endfor %}
       
    18 </table>
       
    19 <br />
       
    20 Selected but not Confirmed Ppl: {{not_confirmed.count}}<br />
       
    21 <table cellspacing=2 cellpadding=2>
       
    22 {% for m in not_confirmed %}
       
    23 <tr>
       
    24 <td> <input type="checkbox" name="selected_users" value="{{m.id}}" id="id_selected_users_0" /> </td>
       
    25 <td> {{m}} </td>
       
    26 <td> {{m.gender}} </td>
       
    27 <td> {{m.profession}}</td>
       
    28 <td> {{m.affiliated_to}} </td>
       
    29 </tr>
       
    30 {% endfor %}
       
    31 </table>
       
    32 
       
    33 <input type=submit value="Send confirmation email"  />
       
    34 </form>
       
    35 <br /><br />
       
    36 Attending Ppl: {{attending.count}}<br />
       
    37 <table cellspacing=2 cellpadding=2>
       
    38 {% for m in attending %}
       
    39 <tr>
       
    40 <td> {{m}} </td>
       
    41 <td> {{m.gender}} </td>
       
    42 <td> {{m.profession}}</td>
       
    43 <td> {{m.affiliated_to}} </td>
       
    44 <td>
       
    45 {% if m.registrantinfo_set.all.0.has_laptop_for_workshop %}
       
    46 True
       
    47 {% else %}
       
    48 False
       
    49 {% endif %}
       
    50 </td>
       
    51 </tr>
       
    52 {% endfor %}
       
    53 </table>
       
    54 
       
    55 {% endblock %}
       
    56