{% extends "core/base.jinja" %} {% block title %} {{object.title}} {% endblock %} {% block head %} {{ super() -}} {%- endblock %} {% block content %}

{{ object.title }}

{{ object.description }}


{% trans %}Polls close {% endtrans %} at

{%- if object.has_voted(request.user) %}

{% trans %}You already have submitted your vote.{% endtrans %}

{%- endif %}
{%- set election_lists = object.election_list.all() -%} {%- for election_list in election_lists %} {%- endfor %} {%- for role in object.role.all() %} {%- for election_list in election_lists %} {%- endfor %} {%- endfor %}
{{election_list.title}}{% trans %}Blank vote{% endtrans %}
{{role.title}} {%- if role.max_choice > 1 %} {% trans %}You may choose up to{% endtrans %} {{ role.max_choice }} {% trans %}people.{% endtrans %} {%- endif %}
    {%- for candidature in election_list.candidature.filter(role=role) %}
  • {%- if candidature.user.profile_pict %} {% trans %}Profile{% endtrans %} {%- endif %}
    {{ candidature.user.first_name }} {{candidature.user.nick_name or ''}} {{ candidature.user.last_name }} {{ candidature.program or '' }}
    {%- if object.is_active %} {% endif %}
  • {%- endfor %}
{%- if object.is_active %} {% endif %}
{% trans %}Add a new list{% endtrans %} {% trans %}Add a new role{% endtrans %}
{{candidate_form}} {% csrf_token %}

{{election_form.as_p()}}

{% csrf_token %}
{% endblock %}