{% if category %} {% for cat in category %} {% endfor %}
Sub Category Parent Category Is Active Created At Image Action
{{ cat.name }} {% if not cat.parent %} <-> {% else %} {{ cat.parent }} {% endif %} {% if cat.is_active == 1 %} Active {% else %} Deactivated {% endif %} {{ cat.created_at }} {% if not cat.category_image %}
{% else %} category image {% endif %}
{% else %}

Category not added yet

{% endif %}