{# a single row in a table of file attachments with inline change and delete forms #} {% load attachments_tags %} {% for attachment in attachments %} Download {{ attachment.label }}
{% csrf_token %}
{% if request.user|can_delete_attachment:attachment %} {% attachment_delete_link attachment %} {% endif %} {% endfor %}