{% macro render(label, array, smallWidth) %} {% if array|length > 0%}

{{ label }}

{% import "components/element/admin/vote-report-item.html.njk" as VoteReportItemRenderer %} {% for item in array %} {{ VoteReportItemRenderer.render(item, true, smallWidth) }}
{% endfor %}
{% endif %} {% endmacro %}