diff --git a/mediagoblin/templates/mediagoblin/user_pages/media.html b/mediagoblin/templates/mediagoblin/user_pages/media.html index 97ff8e51..cd0bb764 100644 --- a/mediagoblin/templates/mediagoblin/user_pages/media.html +++ b/mediagoblin/templates/mediagoblin/user_pages/media.html @@ -16,6 +16,9 @@ # along with this program. If not, see . #} {% extends "mediagoblin/base.html" %} + +{% import "/mediagoblin/utils/wtforms.html" as wtforms_util %} + {% block mediagoblin_content %} {# temporarily, an "image gallery" that isn't one really ;) #} @@ -42,6 +45,49 @@ user= media.uploader().username, media= media._id) }}">Edit

{% endif %} + {% if request.user %} +
+

Post a comment!

+ {{ wtforms_util.render_field_div(comment_form.comment) }} +
+ +
+
+ {% endif %} + {# + {{ wtforms_util.render_textarea_div(submit_form.description) }} + {{ wtforms_util.render_field_div(submit_form.file) }} + #} + {% if comments %} +

Comments

+ {% for comment in comments %} +
+ + +
+ {% autoescape False %} + {{ comment.content_html }} + {% endautoescape %} +
+
+ {% endfor %} + {% include "mediagoblin/utils/pagination.html" %} + {% endif %} {% else %}

Sorry, no such media found.

{% endif %}