equal
deleted
inserted
replaced
|
1 {% load comments %} |
|
2 <h3>Comments</h3> |
|
3 <form action="{% comment_form_target %}" method="POST"> |
|
4 {% for field in form %} |
|
5 {% if field.is_hidden %} |
|
6 {{ field }} |
|
7 {% else %} |
|
8 <p |
|
9 {% if field.errors %} class="error"{% endif %} |
|
10 {% ifequal field.name "honeypot" %} style="display:none;"{% endifequal %}> |
|
11 {% if field.errors %}{{ field.errors }}{% endif %} |
|
12 {{ field.label_tag }} {{ field }} |
|
13 </p> |
|
14 {% endif %} |
|
15 {% endfor %} |
|
16 <p class="submit"> |
|
17 <input type="submit" name="submit" class="submit-post" value="Post" /> |
|
18 <input type="submit" name="submit" class="submit-preview" value="Preview" /> |
|
19 </p> |
|
20 </form> |