1
{% extends "comments/base.html" %}
3
{% block title %}Preview your comment{% endblock %}
7
<form action="{% comment_form_target %}" method="POST">
9
<h1>Please correct the error{{ form.errors|pluralize }} below</h1>
11
<h1>Preview your comment</h1>
12
<blockquote>{{ comment|escape|linebreaks }}</blockquote>
14
and <input type="submit" name="submit" value="Post your comment" id="submit"> or make changes:
17
{% for field in form %}
18
{% if field.is_hidden %}
22
{% if field.errors %} class="error"{% endif %}
23
{% ifequal field.name "honeypot" %} style="display:none;"{% endifequal %}>
24
{% if field.errors %}{{ field.errors }}{% endif %}
25
{{ field.label_tag }} {{ field }}
30
<input type="submit" name="submit" class="submit-post" value="Post">
31
<input type="submit" name="submit" class="submit-preview" value="Preview">