Commits

psviderski committed d39e8af

Fix the display of the add comment form on a page with zero comments.

Comments (0)

Files changed (1)

MoinMoin/themes/foobar/templates/show.html

         <h2 id="moin-comments-title">{{ _("Comments (%(num)d)", num=comments|count) }}</h2>
         {{ comment_utils.show_comments_list(comments) }}
     </div>
+    {% endif %}
     {% if comment_form %}
         {{ comment_utils.add_comment(item_name, comment_form) }}
     {% endif %}
-    {% endif %}
     {% endblock %}
 {% endblock %}