templates/list_stats.html
author Madhusudan.C.S <madhusudancs@gmail.com>
Fri, 06 Aug 2010 14:24:50 +0530
branchanoop
changeset 217 69f9624b0129
parent 31 ec540dfbfe78
permissions -rw-r--r--
Script to allot accommodation and send mails have been added.

{% extends 'base.html' %}
{% block title %}
Registration Statistics
{% endblock %}
{% block content %}
<form action="" method="post">
<!--
Topics: <input name="topics" value=""{{topics}}> <br />
Knowledge of Python: <input name="python_knowledge" value="{{python_knowledge}}"> <br />
Knowledge of Sage: <input name="sage_knowledge" value="{{sage_knowledge}}"> <br />
Likeliness of atttending: <input name="likeliness_of_attending" value="{{likeliness_of_attending}}"> <br />
-->
{{form.as_p}}
<input type="submit" value="Search">
</form>
No.of candidates found: {{matches.count}}<br />
<br />
<table cellpadding=5 border=1>

<tr>
<td>Name</td>
<td>E Mail</td>
<td>Gender</td>
<td>Profession</td>
<td>Institution/Company</td>
<td>Knowledge of other tools</td>
<td>Phone Number</td>
<td>Address</td>
</tr>
{% for user in matches %}
	<tr>
		<td>{{user.first_name.title}} {{user.last_name.title}}</td>
		<td>{{user.email}}</td>
		<td>{{user.gender}}</td>
		<td>{{user.profession}}</td>
		<td>{{user.affiliated_to}}</td>
		<td>{{user.tools_used}}</td>
		<td>{{user.phone_num}}</td>
		<td>{{user.address|linebreaksbr}}</td>
	</tr>
{% endfor %}
</table>
{% endblock %}