{% set contributions = contributions.get(product.pk, []) %} {% if contributions %} {% endif %}