{% extends "master.html" %} {% block title %} {{ super() }} {% endblock %} {%block head %} {% endblock %} {%block tag %}results{% endblock %} {% block content %}

Election results: {{ election.election_name }} - {{ election.election_year }}

Overview

Here below are presented the results of the election {{ election.election_name }} from {{ election.election_year }}.

{% if results %} {% for candidate, votes in results %} {% endfor %}
Name Votes Image
{{ loop.index }} {{ candidate.candidate_name }} {{ votes }} img {{ candidate.candidate_file }}
{% else %}

No results found for this election.

{% endif %} {% endblock %}