aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/zurich/admin/update_edit.html
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2016-01-15 14:56:00 +0000
committerMatthew Somerville <matthew@mysociety.org>2016-01-15 14:56:00 +0000
commit3d5e0210feacf96e21e1916ab0df84b83f5f05e2 (patch)
treec9f82ab699f4f4b589345a55a70880ebf5089c90 /templates/web/zurich/admin/update_edit.html
parent0e257b2201998d428b3624a15dfeeb03a5559371 (diff)
parentb8685054be0e16bc836dc568c0687a6f86400f38 (diff)
Merge branch '1300-multiple-update-photos'
Diffstat (limited to 'templates/web/zurich/admin/update_edit.html')
-rw-r--r--templates/web/zurich/admin/update_edit.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/web/zurich/admin/update_edit.html b/templates/web/zurich/admin/update_edit.html
index ab40981a5..fbd96f3a5 100644
--- a/templates/web/zurich/admin/update_edit.html
+++ b/templates/web/zurich/admin/update_edit.html
@@ -29,8 +29,8 @@
<li>[% loc('Created:') %] [% PROCESS format_date this_date=update.created %] [% update.created.hms %]</li>
[% IF update.photo %]
-[% photo = update.get_photo_params %]
-<li><img alt="" height="[% photo.height %]" width="[% photo.width %]" src="[% photo.url %]">
+[% photo = update.photos.first %]
+<li><img alt="" src="[% photo.url %]">
<input type="checkbox" id="remove_photo" name="remove_photo" value="1">
<label for="remove_photo" class="inline">[% loc("Remove photo (can't be undone!)") %]</label></li>
[% END %]