templates/list_stats.html
author nishanth
Wed, 21 Jul 2010 12:51:25 +0530
branchanoop
changeset 149 1f53ccd82a21
parent 31 ec540dfbfe78
permissions -rw-r--r--
included the send_cnf_email event in views but right now, it is commented

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