{% extends "layouts/panel.html" %} {% load i18n %} {% block title %}{% if obj %}{% trans "Edit category" %}{% else %}{% trans "New product category" %}{% endif %}{% endblock %} {% block page_title %}{% if obj %}{% trans "Edit category" %}{% else %}{% trans "New product category" %}{% endif %}{% endblock %} {% block content_class %}content-narrow{% endblock %} {% block content %}
{% csrf_token %} {% include "partials/_form_errors.html" %}
{% for field in form %}{% include "partials/_field.html" with field=field %}{% endfor %}
{% trans "Cancel" %}
{% endblock %}