{% load document_viewer_tags i18n %}

{% translate "Documents" %}{% if photos_required %}{% translate "Photos obligatoires" %}{% endif %}

{% if 'documents' in allowed_update_fields %} {% endif %}
{% render_document_viewer intervention.documents.all modal_id="interventionDocViewerModal" allow_delete=can_delete_documents delete_always_visible=can_delete_documents allow_copy=can_copy_documents %}
{% if 'documents' in allowed_update_fields %} {# ── Copy-document modal ── #} {# Copy-targets JSON for JS #} {% endif %}