{% load i18n %} {% load cradmin_image_tags %} {% load cradmin_icon_tags %}
{% if image_path %} {% else %} {# Used for the preview - hidden before we have a preview #} {% endif %} {% if clearable %}
{% endif %}
{{ input_html|safe }} {% if image_path %} {% trans "Replace image ..." %} {% else %} {% trans "Select an image ..." %} {% endif %}