Reorganize media.html, comment part

This commit is contained in:
Jef van Schendel 2011-07-01 17:28:55 +02:00
parent 13b4cbf014
commit c13ce79abb

View File

@ -58,17 +58,14 @@
</div> </div>
</form> </form>
{% endif %} {% endif %}
{# {#
{{ wtforms_util.render_textarea_div(submit_form.description) }} {{ wtforms_util.render_textarea_div(submit_form.description) }}
{{ wtforms_util.render_field_div(submit_form.file) }} {{ wtforms_util.render_field_div(submit_form.file) }}
#} #}
{% if comments %} {% if comments %}
<h3>Comments</h3> <h3>Comments</h3>
{% for comment in comments %} {% for comment in comments %}
<div class="comment_wrapper" id="comment-{{ comment['_id'] }}"> <div class="comment_wrapper" id="comment-{{ comment['_id'] }}">
<div class="comment_content"> <div class="comment_content">
{% autoescape False %} {% autoescape False %}
{{ comment.content_html }} {{ comment.content_html }}
@ -93,7 +90,6 @@
{% include "mediagoblin/utils/pagination.html" %} {% include "mediagoblin/utils/pagination.html" %}
</div> </div>
{% endif %} {% endif %}
<div class="grid_4 omega media_sidebar"> <div class="grid_4 omega media_sidebar">
<p>This is a sidebar! Yay!</p> <p>This is a sidebar! Yay!</p>
</div> </div>