{% extends "base.html" %}
{% load i18n %}

{% block subtitle %}
  {% trans 'Metaplan Template deletion' %}
{% endblock subtitle %}

{% block actions %}
    <a class="btn btn-default" href="{{ view.get_success_url }}">{% trans 'Back to training content' %}</a>
{% endblock %}

{% block main %}
    <div class="row-fluid">
        <form class="well" action="" method="post">{% csrf_token %}
            <p>{% blocktrans with template_title=object.title training_name=object.training.name %}Are you sure you want to delete the metaplan template "{{ template_title }}" in training "{{ training_name }}"?{% endblocktrans %}</p>
            <input class="btn btn-danger" type="submit" value="{% trans 'Confirm' %}" />
            <a class="btn btn-link" href="{{ view.get_success_url }}">{% trans 'Cancel' %}</a>
        </form>
    </div>
{% endblock main %}
