{% extends "maps/map_base.html" %}

{% load i18n %}
{% load bootstrap_tags %}

{% block title_sub %}{% trans "Deleting" %} {{ map.title }} {% endblock %}

{% block body_class %}maps{% endblock %}

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