{% extends "wagtailadmin/edit_handlers/chooser_panel.html" %} {% load image_tags %} {% block chooser_class %}image-chooser{% endblock %} {% block chosen_state_view %}
{% if image %} {% image image max-130x130 %} {% else %} {% endif %}
{% endblock %} {% block clear_button_label %}Clear image{% endblock %} {% block choose_another_button_label %}Choose another image{% endblock %} {% block choose_button_label %}Choose an image{% endblock %}