{% extends "base.html" %} {% load i18n %} {% block title %}{% trans "Comment Submission" %}{% endblock %} {% block content %}

{% load comments %}
{% if form.errors %}

{% blocktrans count form.errors|length as counter %}Please correct the error below{% plural %}Please correct the errors below{% endblocktrans %}

{% else %}

{% trans "Preview your comment:" %}

{% if comment.person_name %} {% else %} {% endif %}
Posted by {% if comment.person_name %}{{ comment.person_name}}{% else %}anonymous{% endif %}
on {{ comment.submit_date|date:"F j, Y" }}
at {{ comment.submit_date|date:"H:i T" }}
{% if comment.headline %} {{ comment.headline|escape|wordwrap:80 }}
{% endif %} {{ comment|escape|wordwrap:80 }}
Posted by {% if comment.user.username %} {{ comment.user.username }} {% else %}{{ comment.user_name }} {% endif %}
on {{ comment.submit_date|date:"F j, Y" }}
at {{ comment.submit_date|date:"H:i" }}
{% if comment.headline %} {{ comment.headline|escape|wordwrap:80 }}
{% endif %} {{ comment|escape|wordwrap:80 }}

{% trans "and" %} {% trans "or make changes" %}:

{% endif %} {% for field in form %} {% if field.is_hidden %} {{ field }} {% else %} {% ifequal field.name "honeypot" %} {{ field.label_tag }}{{ field }} {% else %} {% endifequal %} {% endif %} {% endfor %}
{{ field.label_tag }} {{ field }} {% if field.errors %}{{ field.errors }}{% endif %}
(no HTML or other markup)
{% endblock %}