Commit 503b3ca4 authored by Jacob Kaplan-Moss's avatar Jacob Kaplan-Moss
Browse files

[1.0.X] Fixed #9792: corrected invalid HTML in the comment form and comment...

[1.0.X] Fixed #9792: corrected invalid HTML in the comment form and comment preview. Backport of r10420 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10421 bcc190cf-cafb-0310-a4f2-bffc1f526a37
parent a340c7f0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -5,10 +5,10 @@
    {% if field.is_hidden %}
      {{ field }}
    {% else %}
      {% if field.errors %}{{ field.errors }}{% endif %}
      <p
        {% if field.errors %} class="error"{% endif %}
        {% ifequal field.name "honeypot" %} style="display:none;"{% endifequal %}>
        {% if field.errors %}{{ field.errors }}{% endif %}
        {{ field.label_tag }} {{ field }}
      </p>
    {% endif %}
+1 −1
Original line number Diff line number Diff line
@@ -20,10 +20,10 @@
      {% if field.is_hidden %}
        {{ field }}
      {% else %}
        {% if field.errors %}{{ field.errors }}{% endif %}
        <p
          {% if field.errors %} class="error"{% endif %}
          {% ifequal field.name "honeypot" %} style="display:none;"{% endifequal %}>
          {% if field.errors %}{{ field.errors }}{% endif %}
          {{ field.label_tag }} {{ field }}
        </p>
      {% endif %}