From 979f5901af8410ff138de0aa41013bfb193060d6 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Tue, 23 Sep 2008 18:52:55 -0700 Subject: 1.0 --- bn_django/photos/templates/photos/photo_detail.html | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) (limited to 'bn_django/photos/templates') 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 }}.

{% endblock %} {% block commentary %} -
-{% load comments %} +

Post a comment

-{% 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 %} -
-{% 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" %}
{% endblock %} -- cgit v1.2.3