{% macro component(id="products", checkboxes=true, pagination=true, search=true) %}
{% if search %}
{% endif %} {% if checkboxes %} {% endif %} {% set loopIndex = 0 %} {% for product in products %} {% set loopIndex = loopIndex + 1 %} {% endfor %}
#ID Product Stock Category Price
#{{ 100 + loopIndex }}
product {{ product.name }} {{ product.stock }} items list {{ product.category }} {{ product.amount }} EDIT
{% if pagination %}
15 of 25 arrow_forward
{% endif %} {% endmacro %} {{ component() }}