{% extends "cms/base.html" %} {% block title %}{% if cat %}Edit{% else %}Add{% endif %} {% if for_type == 'subscription' %}Subscription{% else %}Product{% endif %} Category{% endblock %} {% block page_title %}{% if cat %}Edit Category{% else %}Add Category{% endif %}{% endblock %} {% block cms_content %}

{% if cat %}Edit Category{% else %}Add Category{% endif %}

Back
{% csrf_token %}
{% include 'cms/partials/icon_picker.html' with field_name='icon_class' current_value=cat.icon_class picker_id='cat-icon' %}
Cancel {% if cat %} {% csrf_token %} {% endif %}
{% endblock %}