{% for action in actions %} {% include "activity/include/listing_base.html" with activity=action %} {% empty %} There are no actions. {% endfor %}