{{ election.title }}
{% if not election.started and election.start_date %}
Starts at {{ election.start_date|date:"Y-m-d H:i:s" }}
{# Time for automatic reload #}
{{ election.start_date|date:"U" }}|
{% elif not election.started %}
Needs to be started manually
{% elif election.is_open and election.end_date %}
Open until {{ election.end_date|date:"Y-m-d H:i:s" }}
{# Time for automatic reload #}
{{ election.end_date|date:"U" }}|
{% elif election.closed %}
Closed
{% else %}
Open, needs to be closed manually
{% endif %}
Delete Election
Are you sure you want to delete {{ election.title }}?