aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Allan Webber <cwebber@dustycloud.org>2011-06-25 00:28:03 -0500
committerChristopher Allan Webber <cwebber@dustycloud.org>2011-06-25 00:28:03 -0500
commit426685e088cd1867c12fc2721d2430e1be335297 (patch)
treee82f0ffbdaa3685f3bea2336dfcdfe847a367d81
parent39c76f30f08e7504c03c1023589a22789b6d6f12 (diff)
downloadmediagoblin-426685e088cd1867c12fc2721d2430e1be335297.tar.lz
mediagoblin-426685e088cd1867c12fc2721d2430e1be335297.tar.xz
mediagoblin-426685e088cd1867c12fc2721d2430e1be335297.zip
Put the thumbnail on the edit details part on the top and center
-rw-r--r--mediagoblin/templates/mediagoblin/edit/edit.html6
1 files changed, 4 insertions, 2 deletions
diff --git a/mediagoblin/templates/mediagoblin/edit/edit.html b/mediagoblin/templates/mediagoblin/edit/edit.html
index 12ddd535..8ee09bd5 100644
--- a/mediagoblin/templates/mediagoblin/edit/edit.html
+++ b/mediagoblin/templates/mediagoblin/edit/edit.html
@@ -27,13 +27,15 @@
method="POST" enctype="multipart/form-data">
<div class="grid_6 prefix_1 suffix_1 edit_box form_box">
<h1>Editing {{ media.title }}</h1>
+ <div style="text-align: center;" >
+ <img src="{{ request.app.public_store.file_url(
+ media['media_files']['thumb']) }}" />
+ </div>
{{ wtforms_util.render_divs(form) }}
<div class="form_submit_buttons">
<a href="{{ media.url_for_self(request.urlgen) }}">Cancel</a>
<input type="submit" value="Save changes" class="button" />
</div>
- <img src="{{ request.app.public_store.file_url(
- media['media_files']['thumb']) }}" />
</div>
</form>