diff --git a/sapl/templates/widgets/image_thumbnail.html b/sapl/templates/widgets/image_thumbnail.html new file mode 100644 index 000000000..154c1a7b2 --- /dev/null +++ b/sapl/templates/widgets/image_thumbnail.html @@ -0,0 +1,66 @@ +{% load i18n staticfiles thumbnail %} +{% load webpack_static from webpack_loader %} +
+ + {% if field.label %} + + {% endif %} + +
+
+ {% if widget.value.url %} +
+
+ {{ widget.value }} +
+
+
+
+ + +
+
+ + {% else %} +
+
+ +
+
+ {% endif %} +
+
+
+ +
+
+
+ {% include 'bootstrap3/layout/help_text_and_errors.html' %} +
+