diff options
author | Matthew Somerville <matthew@mysociety.org> | 2016-01-15 14:56:00 +0000 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2016-01-15 14:56:00 +0000 |
commit | 3d5e0210feacf96e21e1916ab0df84b83f5f05e2 (patch) | |
tree | c9f82ab699f4f4b589345a55a70880ebf5089c90 /templates/web/zurich/admin/update_edit.html | |
parent | 0e257b2201998d428b3624a15dfeeb03a5559371 (diff) | |
parent | b8685054be0e16bc836dc568c0687a6f86400f38 (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.html | 4 |
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 %] |