{% if page_object %} {% for products in page_object %} {% if page_object.start_index %} {{page_object.start_index|add:forloop.counter0}} {% else %} {{forloop.counter}} {% endif %} {% if products.product_picture %} {% else %} Not Uploaded {% endif %} {{products.name}} {{products.product_type}} {% if products.product_type.is_deleted %} {% endif %} {{products.product_category}} {% if products.product_category.is_deleted %} {% endif %} {% if request.user.is_superuser %}
{% else %} {% if products.status %} Active {% else %} Inactive {% endif %} {% endif %}
{% if perms.authentication.view_product %} {% endif %} {% if perms.authentication.edit_product %} {% endif %} {% if perms.authentication.delete_product %}
{% csrf_token %}
{% endif %}
{% endfor %} {% else %} No record found related to your search keyword {% endif %}