summaryrefslogtreecommitdiff
path: root/design/templates/admin/photos/luximage/change_form.html
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2016-03-20 21:30:28 -0400
committerluxagraf <sng@luxagraf.net>2016-03-20 21:30:28 -0400
commit96d80eaf238045faba45cd4b64a8d93d19a98a69 (patch)
treea12bb2c4fe7573946942c425a2d15044f7e20e4c /design/templates/admin/photos/luximage/change_form.html
parent86bb919d5e87b33f93c2d09c6fe36eb2f393b7e6 (diff)
Wrote image app to work with other models. Broke galleries badly, need
to fix before posting again. Also major admin image move to pull off.
Diffstat (limited to 'design/templates/admin/photos/luximage/change_form.html')
-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 %}