{% extends "documents/document_base.html" %}
{% load i18n %}

{% block title %}{{ document.title }} — {{ block.super }}{% endblock %}

{% block body %}
<div class="row">
  <div class="span8">
    <form action="{% url "document_remove" document.id %}" method="POST">
      <h2>
        {% blocktrans with document.title as document_title %}
          Are you sure you want to remove {{ document_title }}?
        {% endblocktrans %}
      </h2>
      {% csrf_token %}
      <input type="hidden" value="{{ document.typename }}" /> 
      <div class="form-actions">
        <input type="submit" value="{% trans "Yes, I am sure" %}" class="btn btn-danger" />
        <a href="{{ document.get_absolute_url }}" class="btn btn-info">{% trans "No, don't remove it" %}</a>
      </div>
    </form>
  </div>
</div>
{% endblock %}
