{% extends 'dashboard/layout.html' %}
{% load category_tags %}
{% block body_class %}catalogue{% endblock %}

{% block title %}
Category management | {{ block.super }}
{% endblock %}

{% block breadcrumbs %}
<ul class="breadcrumb">
    <li>
        <a href="{% url dashboard:index %}">Dashboard</a>
        <span class="divider">/</span>
    </li>
    <li class="active"><a href=".">{% if object %}Update category{% else %}Add a category{% endif %}</a></li>
</ul>
{% endblock %}

{% block header %}
<div class="page-header action">
    <h1>{% if object %}Update category{% else %}Add a category{% endif %}</h1>
</div>
{% endblock header %}

{% block dashboard_content %}

<form action="." method="post">{% csrf_token %}
    {{ form.as_p }}
    <input type="submit" value="Save" />
</form>

<div class="sub-header">
    <h2>{{ queryset_description }}</h2>
</div>

{% endblock dashboard_content %}

{% extends 'dashboard/layout.html' %}
{% load category_tags %}
{% block body_class %}catalogue{% endblock %}

{% block title %}
Category management | {{ block.super }}
{% endblock %}

{% block breadcrumbs %}
<ul class="breadcrumb">
    <li>
        <a href="{% url dashboard:index %}">Dashboard</a>
        <span class="divider">/</span>
    </li>
    <li>
        <a href="{% url dashboard:catalogue-category-list %}">Categories</a>
        <span class="divider">/</span>
    </li>
    <li class="active"><a href=".">{% if object %}Update category{% else %}Add a category{% endif %}</a></li>
</ul>
{% endblock %}

{% block header %}
<div class="page-header action">
    <h1>{% if object %}Update category{% else %}Add a category{% endif %}</h1>
</div>
{% endblock header %}

{% block dashboard_content %}

<form action="." method="post">{% csrf_token %}
    {{ form.as_p }}
    <input type="submit" value="Save" />
</form>

<div class="sub-header">
    <h2>{{ queryset_description }}</h2>
</div>

{% endblock dashboard_content %}

Add categories list to breadcrumbs
Add categories list to breadcrumbs
