aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Allan Webber <cwebber@dustycloud.org>2011-08-22 21:55:06 -0500
committerChristopher Allan Webber <cwebber@dustycloud.org>2011-08-22 21:55:06 -0500
commita28f072615ce420172d709823f5839a461e84655 (patch)
tree9a9504a8fa80ee7cd8d1c9c309f5b0b63ff9d858
parent894fa564e718af7398f6f368eb3ac0dcb4d45e1f (diff)
downloadmediagoblin-a28f072615ce420172d709823f5839a461e84655.tar.lz
mediagoblin-a28f072615ce420172d709823f5839a461e84655.tar.xz
mediagoblin-a28f072615ce420172d709823f5839a461e84655.zip
Wrap "add attachment" in a paragraph for proper spacing.
-rw-r--r--mediagoblin/templates/mediagoblin/user_pages/media.html8
1 files changed, 5 insertions, 3 deletions
diff --git a/mediagoblin/templates/mediagoblin/user_pages/media.html b/mediagoblin/templates/mediagoblin/user_pages/media.html
index 08d5dbe9..0425500e 100644
--- a/mediagoblin/templates/mediagoblin/user_pages/media.html
+++ b/mediagoblin/templates/mediagoblin/user_pages/media.html
@@ -149,9 +149,11 @@
{% if app_config['allow_attachments']
and (media['uploader'] == request.user['_id']
or request.user['is_admin']) %}
- <a href="{{ request.urlgen('mediagoblin.edit.attachments',
- user=media.uploader().username,
- media=media._id) }}">Add attachment</a>
+ <p>
+ <a href="{{ request.urlgen('mediagoblin.edit.attachments',
+ user=media.uploader().username,
+ media=media._id) }}">Add attachment</a>
+ </p>
{% endif %}
{% if media.tags %}