+ {% load comments %}
+ {% get_comment_count for s as c %}
+ {% ifequal c 1 %}
+ <h4 class="sandwichsub">1 Comment</h4>
+ {% else %}
+ {% ifequal c 0 %}
+ <p class="sandnotes"><b>No comments</b></p>
+ {% else %}
+ <h4 class="sandwichsub">{{c}} Comments</h4>
+ {% endifequal %}
+ {% endifequal %}
+
+ {% get_comment_list for s as clist %}
+ {% for comment in clist %}
+ <p class="comment_user">{{ comment.user_name }} said:</p>
+ <p class="sandnotes">{{ comment.comment }}</p>
+ <p class="metadata">{{ comment.submit_date }}</p>
+ {% endfor %}
+ <a name="comments"></a>
+ <h4 class="addcomment">Add a Comment</h4>
+ {% render_comment_form for s %}