{% extends "base.html" %} {% block body %}

{{ election.shortdesc }} Results

{{ election.description }}

{% if election.url %}

[More Information]

{% endif %} {% for candidate in election.candidates|sort(attribute='vote_count',reverse=True) %} {% endfor %}
Candidate Votes
{% if election.candidates_are_fasusers %} {{ usernamemap[candidate.id] }} {% else %} {{candidate.name}} {% endif %} {% if candidate.url %} [info] {% endif %} {{ candidate.vote_count }}

Some statistics about this election

{% if stats['candidate_voters'] %} {% for candidate in election.candidates|sort(attribute='vote_count',reverse=True) %} {% if stats['candidate_voters'][candidate.name] %} {% else %} {% endif %} {% endfor %} {% endif %}
Number of voters {{ stats['n_voters'] }}
Number of votes {{ stats['n_votes'] }}
Maximum of votes {{ stats['n_voters'] * stats['n_candidates'] }}
Number of voters per candidate Average votes per candidate
{{ candidate.name }} {{ stats['candidate_voters'][candidate.name] }}{{ candidate.vote_count / stats['candidate_voters'][candidate.name] }} -
{% endblock %}