{% set show_attach_button = user.has_perm('add_attachment') %}

{{ _('Attachments') }} ({{ attachment_data | length}})

{% if show_attach_button and attachment_form %}

Attach Files

{% endif %}

{{ _('This document has no attachments.') }}

{% for attachment in attachment_data %} {{ attachment.html }} {% endfor %}
{{ _('File') }} {{ _('Size') }} {{ _('Date') }} {{ _('Attached by') }}
{% if show_attach_button and attachment_form %}
{% endif %}