{% load mezzanine_tags i18n %} {% ifequal value.filetype "Image" %}

{% else %}

{{ value.path }}

{% endifequal %} {% if not self.is_required %}

{% trans "Clear" %}

{% endif %} {% if final_attrs.DEBUG %}

Path {{ value.path }}
FileType {{ value.filetype }}

Directory {{ final_attrs.directory }}
Extensions {{ final_attrs.extensions }}
Format {{ final_attrs.format }}

{% endif %}