--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/templates/list_attendees.html Tue Apr 13 10:50:29 2010 +0530
@@ -0,0 +1,30 @@
+{% extends "base.html" %}
+{% block content %}
+ List of people registered for "{{event.title}}"<br /><br />
+ <table cellspacing=5 cellpadding=5>
+ <tr>
+ <td>Name</td>
+ <td>Gender</td>
+ <td>Profession</td>
+ <td>College/Company</td>
+ <td>Interests</td>
+ </tr>
+ {% for a_user in attendees %}
+ <tr>
+ <td>{{a_user.get_full_name}}</td>
+ <td>{{a_user.get_profile.gender}}</td>
+ <td>{% ifequal a_user.get_profile.profession "S" %}
+ Student
+ {% else %}
+ {% ifequal a_user.get_profile.profession "F" %}
+ Faculty
+ {% else %}
+ Professional
+ {% endifequal %}
+ {% endifequal %}
+ </td>
+ <td>{{a_user.get_profile.interests}}</td>
+ </tr>
+ {% endfor %}
+ </table>
+{% endblock %}