{% extends 'modal_base.html' %}
{% load i18n %}

{% block title %}
    {% trans 'Mark certification results as treated manually' %}
{% endblock %}

{% block body %}
    <form action="{% url 'assessments:certification-results-bulk-skip' %}" method="post">{% csrf_token %}
        <div class="modal-body">
            <p>
                {% blocktrans trimmed %}
                    You are about to mark <span class="nb-items"></span> lines as "treated manually".<br>
                    This action is definitive.
                {% endblocktrans %}
            </p>
            <input type="hidden" name="sync_status" value="sk">
            {% comment %}
                We don't use {{ form }} here because it would output a lot of objects,
                and we don't want that. So the fields are generated dynamically
                in JS, see certification_results_list.html, and appended to `div.fields`.
            {% endcomment %}
            <div class="fields"></div>
        </div>
        <div class="modal-footer clearfix">
            <button type="button" class="btn btn-default pull-left" data-dismiss="modal">{% trans 'Cancel' %}</button>
            <input class="btn btn-danger pull-right" type="submit" value="{% trans 'Confirm' %}" />
        </div>
    </form>
{% endblock %}
