Ticket #9792: 9792.diff
File 9792.diff, 1.4 KB (added by , 16 years ago) |
---|
-
trunk/django/contrib/comments/templates/comments/preview.html
19 19 {% if field.is_hidden %} 20 20 {{ field }} 21 21 {% else %} 22 {% if field.errors %} class="error"{% endif %} 22 23 <p 23 {% if field.errors %} class="error"{% endif %}24 24 {% ifequal field.name "honeypot" %} style="display:none;"{% endifequal %}> 25 25 {% if field.errors %}{{ field.errors }}{% endif %} 26 26 {{ field.label_tag }} {{ field }} -
trunk/django/contrib/comments/templates/comments/form.html
4 4 {% if field.is_hidden %} 5 5 {{ field }} 6 6 {% else %} 7 {% if field.errors %}{{ field.errors }}{% endif %} 7 8 <p 8 9 {% if field.errors %} class="error"{% endif %} 9 10 {% ifequal field.name "honeypot" %} style="display:none;"{% endifequal %}> 10 {% if field.errors %}{{ field.errors }}{% endif %}11 11 {{ field.label_tag }} {{ field }} 12 12 </p> 13 13 {% endif %}