Ticket #9792: comments_preview.diff

File comments_preview.diff, 746 bytes (added by Robert, 16 years ago)

Patch to fix comments preview.html

  • django/contrib/comments/templates/comments/preview.html

     
    1919      {% if field.is_hidden %}
    2020        {{ field }}
    2121      {% else %}
    22         <p
     22        <div
    2323          {% if field.errors %} class="error"{% endif %}
    2424          {% ifequal field.name "honeypot" %} style="display:none;"{% endifequal %}>
    2525          {% if field.errors %}{{ field.errors }}{% endif %}
    2626          {{ field.label_tag }} {{ field }}
    27         </p>
     27        </div>
    2828      {% endif %}
    2929    {% endfor %}
    3030    <p class="submit">
Back to Top