{% for category in categories %} {% if category.amount > 0 %} {% endif %} {% endfor %}