{% extends "comments/base.html" %} {% comment %} 1. Add
wrapper. 2. Hide preview button. {% endcomment %} {% load i18n %} {% block title %}{% trans "Preview your comment" %}{% endblock %} {% block content %}
{% load comments %}
{% csrf_token %} {% if next %}
{% endif %} {% 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" %}

{{ comment|linebreaks }}

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

{% endif %} {% for field in form %} {% if field.is_hidden %}
{{ field }}
{% else %} {% if field.errors %}{{ field.errors }}{% endif %} {% endif %} {% endfor %}

{% endblock %}