{% extends 'oscar/dashboard/layout.html' %} {% load category_tags %} {% load i18n %} {% block body_class %}{{ block.super }} create-page catalogue{% endblock %} {% block title %} {{ title }} | {% trans "Categories" %} | {{ block.super }} {% endblock %} {% block breadcrumbs %} {% endblock %} {% block headertext %}{{ title }}{% endblock %} {% block dashboard_content %}
{% csrf_token %}
{% block tab_nav %}

{% trans "Sections" %}

{% endblock tab_nav %}
{% block tab_content %} {% block category_details %}

{% trans "Category details" %}

{% block category_details_content %} {{ form.non_field_errors }} {% for field in form.hidden_fields %} {{ field }} {% endfor %} {% for field in form.primary_form_fields %} {% if 'attr' not in field.id_for_label %} {% include 'oscar/dashboard/partials/form_field.html' with field=field %} {% endif %} {% endfor %} {% endblock category_details_content %}
{% endblock category_details %} {% block seo %}

{% trans "Search engine optimisation" %}

{% block seo_content %} {% for field in form.seo_form_fields %} {% if 'attr' not in field.id_for_label %} {% include 'oscar/dashboard/partials/form_field.html' with field=field %} {% endif %} {% endfor %} {% endblock seo_content %}
{% endblock seo %} {% endblock tab_content %}
{% block fixed_actions_group %}
{% trans "Cancel" %} {% trans "or" %}
{% if category %} {% trans "View on site" %} {% endif %}
{% endblock fixed_actions_group %}
{% endblock dashboard_content %}