{% load django_listing %}
{% for url, label, icon in item.buttons %} {% with v=forloop.counter0 %} {% if icon and item.show_icons %}{% endif %} {% if label and item.show_labels %}{{ label }}{% endif %} {% endwith %} {% endfor %}