{% extends "dashboard/base.html" %}
{% load i18n %}
{% load mptt_tags %}

{% block title %}{% trans "Delete category" %} - {{ block.super }}{% endblock %}

{% block content %}
    <form class="form form-horizontal" action="" method="post">
        {% csrf_token %}

        <div class="row">
            <div class="col-lg-12">
                <h1 class="page-header">
                    {% blocktrans with category=category %}
                        Are you sure you want to delete the category {{ category }}?
                    {% endblocktrans %}
                </h1>
            </div>
        </div>

        {% if descendants %}
            <div class="row">
                <div class="col-lg-12">
                    {% trans 'The following child categories will be deleted:' %}
                    <ul>
                        {% recursetree descendants %}
                            <li>{{ node.name }}
                                {% if not node.is_leaf_node %}
                                    <ul class="children">
                                        {{ children }}
                                    </ul>
                                {% endif %}
                            </li>
                        {% endrecursetree %}
                    </ul>
                </div>
            </div>
        {% endif %}

        <div class="form-group">
            <div class="col-md-6">
                <button class="btn btn-danger" type="submit"><i class="glyphicon glyphicon-trash"></i> {% trans "Delete" %}</button>
                <a class="btn btn-default" href="{% url 'dashboard:category-update' pk=category.pk %}"><i class="glyphicon glyphicon-remove"></i> {% trans "Cancel" %}</a>
            </div>
        </div>
    </form>
{% endblock %}

Add missing template for delete view
Add missing template for delete view
