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

{% else %} {% 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 %}