{% extends "smartmin/form.html" %} {% load thumbnail i18n %} {% block extra-fields %} {% if object and type.has_gallery %}
{% for img in object.sorted_images %} {% thumbnail img.image "100x100" crop="center" as im %} {% endthumbnail %} {% trans "Add Image" %} {% endfor %}
{% endif %} {% endblock extra-fields %} {% block extra-style %} {% if type.has_rich_text %} {% endif %} {% endblock extra-style %} {% block extra-script %} {% if type.has_rich_text %} {% endif %} {% endblock extra-script %}