{% extends "wlpoll/base.html" %} {% comment %} vim:ft=htmldjango {% endcomment %} {% load wlpoll wlprofile %} {% load threadedcommentstags custom_date %} {% block title %}{{ object.name }} - {{ block.super }}{% endblock %} {% block content %}

{{ object.name }}

{% display_poll object %}
{% get_comment_count for object as ccount %}
{{ ccount }} comments, {{object.total_votes}} votes {% if perms.news %} {% if perms.news.poll_can_add %}Add New Poll{% endif %} {% if perms.news.poll_can_edit %}| Edit{% endif %} {% if perms.news.poll_can_delete %}| Delete{% endif %} {% endif %}
{% get_threaded_comment_form as form %} {% include "threadedcomments/inlines/reply_to.js" %}

Comments on this Poll:

{% get_threaded_comment_tree for object as tree %} {% for comment in tree %}
{% if comment.user.wlprofile.avatar %} {% endif %}

{{ comment.user|user_link }} said:

{% auto_transform_markup comment %} {% if user.is_authenticated %}

Reply

{% endif %}
{% endfor %} {% if user.is_authenticated %}

Reply to Original:

{{ form.comment.errors }} {{ form.comment }}
{% else %}

Log in to post comments

{% endif %} {% endblock %}