summaryrefslogtreecommitdiff
path: root/design/templates/admin
diff options
context:
space:
mode:
Diffstat (limited to 'design/templates/admin')
-rw-r--r--design/templates/admin/photos/luximage/change_form.html5
1 files changed, 3 insertions, 2 deletions
diff --git a/design/templates/admin/photos/luximage/change_form.html b/design/templates/admin/photos/luximage/change_form.html
index 9344372..a6222af 100644
--- a/design/templates/admin/photos/luximage/change_form.html
+++ b/design/templates/admin/photos/luximage/change_form.html
@@ -1,5 +1,5 @@
{% extends "admin/base_site.html" %}
-{% load get_image_size %}
+{% load get_image_by_size %}
{% load i18n admin_urls admin_static admin_modify %}
{% block extrahead %}{{ block.super }}
@@ -59,9 +59,10 @@
<div class="form-row field-image">
<div>
<label for="">Image:</label>
-<p class="file-upload"><img src="{% get_image_size original "small" %}"></p>
+<p class="file-upload"><img src="{{original.get_admin_image}}" /></p>
</div>
</div>
+
{% for fieldset in adminform %}
{% include "admin/includes/fieldset.html" %}
{% endfor %}