{% for object in attachments %} {% include "snippets/attachment.html" %} {% endfor %}