{% extends "core/base.jinja" %} {% block title %} {{ object.title }} {% endblock %} {% block head %} {{ super() -}} {%- endblock %} {% block content %}
{{ election.description }}
{%- if election.is_vote_active %} {% trans %}Polls close {% endtrans %} {%- elif election.is_vote_finished %} {% trans %}Polls closed {% endtrans %} {%- else %} {% trans %}Polls will open {% endtrans %} {% trans %} at {% endtrans %} {% trans %}and will close {% endtrans %} {%- endif %} {% trans %} at {% endtrans %}
{%- if election.has_voted(user) %}{%- if election.is_vote_active %} {% trans %}You already have submitted your vote.{% endtrans %} {%- else %} {% trans %}You have voted in this election.{% endtrans %} {%- endif %}
{%- endif %}