diff options
author | bnewbold <bnewbold@manus.(none)> | 2007-03-07 01:09:52 -0800 |
---|---|---|
committer | bnewbold <bnewbold@manus.(none)> | 2007-03-07 01:09:52 -0800 |
commit | b148bab8f549792f19ae0256c00c282f29e061dc (patch) | |
tree | e08cccaa5257e77faea258891cfd3974ec641ba8 /bn_django/photos | |
parent | 3a454ef090f5afe3d0ddf119afa0ca6312e52c3b (diff) | |
download | bnewnet-b148bab8f549792f19ae0256c00c282f29e061dc.tar.gz bnewnet-b148bab8f549792f19ae0256c00c282f29e061dc.zip |
much work; comments working for photos, static content moved, more
Diffstat (limited to 'bn_django/photos')
-rw-r--r-- | bn_django/photos/templates/photos/photo_detail.html | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/bn_django/photos/templates/photos/photo_detail.html b/bn_django/photos/templates/photos/photo_detail.html index 0d5398d..9a7c290 100644 --- a/bn_django/photos/templates/photos/photo_detail.html +++ b/bn_django/photos/templates/photos/photo_detail.html @@ -100,20 +100,15 @@ {% block commentary %} <div class="content" id="commentary"> {% load comments %} - +<h3>Post a comment</h3> {% if user.is_authenticated %} -{% comment_form for photos.photo photo.id with is_public yes %} -comment form:<br /> -{% include "comments/form.html" %} +{% comment_form for photos.photo object.id with is_public yes %} {% else %} -{% free_comment_form for photos.photo photo.id with is_public yes %} -free comment form:<br /> -{% include "comments/freeform.html" %} +{% free_comment_form for photos.photo object.id with is_public yes %} {% endif %} - -comment list:<br /> -{% get_comment_list for photos.photo photo.id as comments %} -{% get_free_comment_list for photos.photo photo.id as free_comments %} +<br /> +{% get_comment_list for photos.photo object.id as comments %} +{% get_free_comment_list for photos.photo object.id as free_comments %} {% include "comment_list" %} </div> {% endblock %} |