{% set uploadsArr = Entity.Uploads.readAll %} {% if uploadsArr|length > 0 %}

{% trans %}Attached file {% plural uploadsArr|length %} Attached files {% endtrans %}

{% if mode == 'edit' %} {% endif %}
{% for upload in uploadsArr %}
{% if mode == 'edit' %} {% endif %} {{ Uv.displayUpload(mode, upload)|raw }} {% if mode == 'edit' %}

{{ 'Upload a new version of this file'|trans }}

{% endif %}
{% endfor %}
{% endif %}