diff options
author | Bryan Newbold <bnewbold@animus.robocracy.org> | 2008-09-23 18:52:55 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@animus.robocracy.org> | 2008-09-23 18:52:55 -0700 |
commit | 979f5901af8410ff138de0aa41013bfb193060d6 (patch) | |
tree | f3c59f2a2f1da90e13336e16efa4b48003534052 /bn_django/photos/templates | |
parent | 6a22baa306a72557698d64ac6c09842bed81f66b (diff) | |
download | bnewnet-979f5901af8410ff138de0aa41013bfb193060d6.tar.gz bnewnet-979f5901af8410ff138de0aa41013bfb193060d6.zip |
1.0
Diffstat (limited to 'bn_django/photos/templates')
-rw-r--r-- | bn_django/photos/templates/photos/photo_detail.html | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/bn_django/photos/templates/photos/photo_detail.html b/bn_django/photos/templates/photos/photo_detail.html index 5d02710..1278bda 100644 --- a/bn_django/photos/templates/photos/photo_detail.html +++ b/bn_django/photos/templates/photos/photo_detail.html @@ -1,5 +1,6 @@ {% extends "photos/base.html" %} {# {% load markup %} #} + {% load comments %} {% block path %} @@ -101,17 +102,10 @@ by {{ object.photographer }}.</p> {% endblock %} {% block commentary %} -<div class="content" id="commentary"> -{% load comments %} +<div class='content' id='commentary'> <h3>Post a comment</h3> -{% if user.is_authenticated %} -{% comment_form for photos.photo object.id with is_public true %} -{% else %} -{% free_comment_form for photos.photo object.id with is_public true %} -{% endif %} -<br /> -{% get_comment_list for photos.photo object.id as comments %} -{% get_free_comment_list for photos.photo object.id as free_comments %} +{% render_comment_form for object %} +{% get_comment_list for object as comments %} {% include "comment_list" %} </div> {% endblock %} |