diff options
Diffstat (limited to 'bn_django/git_wiki/templates')
-rw-r--r-- | bn_django/git_wiki/templates/git_wiki/item.html | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/bn_django/git_wiki/templates/git_wiki/item.html b/bn_django/git_wiki/templates/git_wiki/item.html index 16d3518..4258b1c 100644 --- a/bn_django/git_wiki/templates/git_wiki/item.html +++ b/bn_django/git_wiki/templates/git_wiki/item.html @@ -27,3 +27,19 @@ </span> <br /> {% endblock %} + +{% block commentary %} +<div class="content" id="commentary"> +{% load comments %} +<h3>Post a comment</h3> +{% if user.is_authenticated %} +{% comment_form for git_wiki.item item.id with is_public yes %} +{% else %} +{% free_comment_form for git_wiki.item item.id with is_public yes %} +{% endif %} +<br /> +{% get_comment_list for git_wiki.item item.id as comments %} +{% get_free_comment_list for git_wiki.item item.id as free_comments %} +{% include "comment_list" %} +</div> +{% endblock %} |