{% extends "zinnia/base.html" %} {% load i18n zinnia_tags comments %} {% block title %}{% trans "Comment preview" %}{% endblock %} {% block body-class %}comment-preview{% endblock %} {% block content %} {% if form.errors %}

{% blocktrans count errors=form.errors|length %}Please correct following error.{% plural %}Please correct following errors.{% endblocktrans %}

{% else %}

{% trans "Preview of the comment" %}

    {% with comment=form.get_comment_object %}
  1. {{ comment.name }}

    {% if comment.url %} {{ comment.name }} {% else %} {{ comment.name }} {% endif %} {% trans "on" %} {{ comment.submit_date|date:"SHORT_DATETIME_FORMAT" }}

    {{ comment.comment|linebreaks }}
  2. {% endwith %}
{% endif %} {% include "comments/zinnia/entry/form.html" %} {% endblock %}