{% load i18n %} {% load form_icon_filters %}
{% with icon=widget.document.name label=widget.attrs.label %}
{# djlint:off H006 #} Preview {# djlint:on #}
{{ widget.document.name }}
{% if not widget.attrs.disabled %}
{% blocktranslate trimmed %} Remove {{ label }} {% endblocktranslate %}
{% endif %} {% endwith %}