{% extends "enter_results.html" %} {% load static debate_tags i18n %} {% block page-subnav-sections %} {% trans "Back to All Results" %} {% if not new %} {% trans "Create a new ballot set for this debate" %} {% endif %} {% endblock %} {% block content %}
{% csrf_token %} {% include "ballot/ballot_set.html" %}
{% if new and not form.confirmed.value %} {# After a new ballot, always go into DRAFT, and the new ballot is neither discarded nor confirmed. #} {% else %} {# If confirming, always go into CONFIRMED. If incorrect, go into DRAFT or NONE depending on whether there are still ballots left. #} {% if not new and request.user == ballotsub.submitter %}
{% trans "You can't confirm this ballot set because you entered it." %}
{% endif %} {% if ballotsub.single_adj %}
{% trans "You can't confirm this ballot set because it is for a single adjudicator. Use the merge function." %}
{% endif %}
{% if pref.enable_ballot_receipts and not request.user == ballotsub.submitter %} {% trans "Emails will be sent to adjudicators when the ballot is confirmed." %} {% endif %}
{% endif %}
{% endblock content %} {% block js %} {{ block.super }} {% endblock %}