{% extends 'base.html' %}

{% load i18n %}

{% block subtitle %}
    {% trans 'Deletion confirmation' %}
{% endblock %}

{% block actions %}
    <a class="btn btn-default" href="{{ evaluation.training.get_content_url }}">
        {% trans 'Back to the training contents' %}
    </a>
{% endblock %}

{% block main %}
    <form action="{{ evaluation.get_delete_url }}" method="post" class="well">{% csrf_token %}
        <p>
            {% blocktrans trimmed with evaluation_name=evaluation.name %}
                Are you sure you want to delete the evaluation "{{ evaluation_name }}"?
            {% endblocktrans %}
        </p>
        <input class="btn btn-danger" type="submit" value="{% trans 'Confirm' %}" />
        <a class="btn btn-link" href="{{ evaluation.training.get_content_url }}">
            {%  trans 'Cancel' %}
        </a>
    </form>
{% endblock %}
