{% extends "polls/event_detail_base.html" %}
{% load staticfiles %}
{% load bootstrap3 %}
{% block event_nav_organisers %}active{% endblock %}
{% block event_content %}
<h2>Event Organisers ({{ object.users_organisers.all.count }})</h2>
<hr/>
{% if object.users_organisers.all %}
<ul class="list-group">
{% for user in object.users_organisers.all %}
<li class="list-group-item">{{ user.email }}</li>
{% endfor %}
</ul>
{% else %}
<p>No organisers for this Event.</p>
{% endif %}
<h2>Event Trustees ({{ object.users_trustees.all.count }})</h2>
{% if object.users_trustees.all %}
{% for user in object.users_trustees.all %}
<p>No trustees for this Event.</p>
<h2>Voters ({{ object.voters.all.count }})</h2>
{% if object.voters.all %}
{% for voter in object.voters.all %}
<li class="list-group-item">{{ voter.email }}</li>
<p>No voters for this Event.</p>
{% endblock %}