{% if page_object %} {% for products in page_object %} {% if page_object.start_index %} {{page_object.start_index|add:forloop.counter0}} {% else %} {{forloop.counter}} {% endif %} {{products.name}} {% if request.user.is_superuser %}
{% else %} {% if products.status %} Active {% else %} Inactive {% endif %} {% endif %}
{% if request.user.is_superuser %} {% endif %} {% if perms.authentication.edit_product_category %} {% endif%} {% if perms.authentication.delete_product_category %}
{% csrf_token %}
{% endif %}
{% endfor %} {% else %} No record found related to your search keyword {% endif %}