uses render_divs for the comments form in media.html for completeness
authorCaleb Forbes Davis V <caldavis@gmail.com>
Fri, 12 Aug 2011 00:17:56 +0000 (19:17 -0500)
committerCaleb Forbes Davis V <caldavis@gmail.com>
Fri, 12 Aug 2011 00:17:56 +0000 (19:17 -0500)
mediagoblin/templates/mediagoblin/user_pages/media.html

index afc0d9031ef224840cab1caf99994657eadb4de4..9c0a1cca848e5c2c3d4a82f54442f9cc82b1f0d9 100644 (file)
@@ -55,7 +55,7 @@
         <form action="{{ request.urlgen('mediagoblin.user_pages.media_post_comment', 
                                          user= media.uploader().username,
                                          media=media._id) }}" method="POST">
-          {{ wtforms_util.render_field_div(comment_form.comment_content) }}
+          {{ wtforms_util.render_divs(comment_form) }}
           <div class="form_submit_buttons">
             <input type="submit" value="{% trans %}Post comment!{% endtrans %}" class="button" />
           </div>