templates/list_stats.html
author nishanth
Sat, 05 Jun 2010 17:23:17 +0530
branchanoop
changeset 42 127472f8652a
parent 31 ec540dfbfe78
permissions -rw-r--r--
errors are displayed in red now

{% 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 %}