1 {% extends "base.html" %}
5 {% load migdal_tags markup_tags %}
10 {% entry_begin form.target_object %}
11 {{ form.target_object.body }}
13 {% render_comment_list for form.target_object %}
16 <form action="{% comment_form_target %}" method="post">{% csrf_token %}
17 {% if next %}<div><input type="hidden" name="next" value="{{ next }}" /></div>{% endif %}
19 <h1>{% blocktrans count counter=form.errors|length %}Please correct the error below{% plural %}Please correct the errors below{% endblocktrans %}</h1>
21 <h1>{% trans "Preview your comment" %}</h1>
23 <img src="{% gravatar_for_email form.email.value 24 %}"/>
27 <blockquote>{{ comment|textile_restricted_pl }}</blockquote>
29 {% trans "and" %} <input type="submit" name="submit" class="submit-post" value="{% trans "Post your comment" %}" id="submit" /> {% trans "or make changes" %}:
32 {% for field in form %}
33 {% if field.is_hidden %}
34 <div>{{ field }}</div>
36 {% if field.errors %}{{ field.errors }}{% endif %}
38 {% if field.errors %} class="error"{% endif %}
39 {% ifequal field.name "honeypot" %} style="display:none;"{% endifequal %}>
40 {{ field.label_tag }} {{ field }}
45 <input type="submit" name="submit" class="submit-post" value="{% trans "Post" %}" />
46 <input type="submit" name="preview" class="submit-preview" value="{% trans "Preview" %}" />