{% if perms|read_attachment %}
{% get_attachments_for object as "attachments_list" %}
{% if attachments_list %}
{% include "paperclip/_attachment_table.html" %}
{% else %}
{% trans "No file attached" %}
{% endif %}
{% else %}
{% trans "You are not allowed to see attachments." %}
{% endif %}