{% extends "xprez/admin/form/fields/base.html" %} {% load i18n %} {% load xprez_admin %} {% block controller_class %}XprezFileInputFieldController{% endblock %} {% block field %} {% with widget=field|xprez_widget_context %}
{% with thumb=widget.value|xprez_file_thumbnail %} {% include "xprez/shared/icons/paperclip.html" %} {{ widget.value|xprez_file_name }} {% endwith %}
{% if not widget.required %} {% endif %}
{% include "xprez/admin/includes/delete_info.html" with component_prefix="xprez-file-input" message_subject="file" %}
{% endwith %} {% endblock %}