{% extends "navs/base.html" %}
{% load i18n %}
{% load base_tags %}

{% block title %}{% trans "Delete Nav" %} {{ current_nav.title }}{% endblock %}

{% block extra_head %}
{{ block.super }}
<link rel="stylesheet" href="{{ STATIC_URL }}css/navs.css">
<link rel="stylesheet" href="{{ STATIC_URL }}css/delete.css">
{% endblock %}

{% block body %}
<div class="t">
    <div class="nav-wrap">
        <h1>{% trans "Delete a Nav" %}</h1>
        <div class="content">
        <h2>{{ current_nav.title }}</h2>
        </div>
        <div class="delete-prompt"> 
        	{% trans "Are you sure you want to permanently delete this nav?" %}
        </div>
        <div class="delete-form">
            <form action="{% url navs.delete current_nav.id %}" method="post">{% csrf_token %}
                <input type="submit" value="{% trans 'Confirm Delete' %}" />
            </form>
        </div>
        <div class="back-search"><a href="{% url navs.search %}">&laquo; {% trans "Back to all" %} {% firstof MODULE_NAVS_LABEL 'navs' %} </a></div>
    </div>
</div>
{% endblock %}
