{% if comments_pending %}
{% for comment in comments_pending %}
{{ comment.author }}
{{ comment.post_time | date(format="%F %R", locale=config.lang) }}
{% if comment.editable %}
Edit
{% endif %} {% if admin and comment.needs_approval %}
Approve
{% endif %} {% if admin %}
Remove
{% endif %}
{{ comment.text }}
{% endfor %}
{% endif %}
{% for comment in comments %}
{{ comment.author }}
{{ comment.post_time | date(format="%F %R", locale=config.lang) }}
{% if comment.editable %}
Edit
{% endif %} {% if admin and comment.needs_approval %}
Approve
{% endif %} {% if admin %}
Remove
{% endif %}
{{ comment.text }}
{% endfor %}
{% if new_comment_errors %}
Whoops, the following error occurred:
{% for error in new_comment_errors %}
{{ error | safe }}
{% endfor %}
{% endif %}
Your name:
Your e-mail:
Your comment:
{% if new_comment_text %}{{ new_comment_text }}{% endif %}
Post comment
{% if edit_comment %}
{% if edit_comment_errors %}
Whoops, the following error occurred:
{% for error in edit_comment_errors %}
{{ error | safe }}
{% endfor %}
{% endif %}
Your name:
Your e-mail:
Your comment:
{% if edit_comment_text %}{{ edit_comment_text }}{% endif %}
Edit comment
{% endif %}
{{ comment.text }}