aboutsummaryrefslogtreecommitdiffstats
path: root/bn_django/photos/templates
diff options
context:
space:
mode:
Diffstat (limited to 'bn_django/photos/templates')
-rw-r--r--bn_django/photos/templates/photos/photo_detail.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/bn_django/photos/templates/photos/photo_detail.html b/bn_django/photos/templates/photos/photo_detail.html
index 9a7c290..a2a28c2 100644
--- a/bn_django/photos/templates/photos/photo_detail.html
+++ b/bn_django/photos/templates/photos/photo_detail.html
@@ -102,9 +102,9 @@
{% load comments %}
<h3>Post a comment</h3>
{% if user.is_authenticated %}
-{% comment_form for photos.photo object.id with is_public yes %}
+{% comment_form for photos.photo object.id with is_public true %}
{% else %}
-{% free_comment_form for photos.photo object.id with is_public yes %}
+{% free_comment_form for photos.photo object.id with is_public true %}
{% endif %}
<br />
{% get_comment_list for photos.photo object.id as comments %}