Django

Code

Changeset 9117

Show
Ignore:
Timestamp:
10/05/08 00:06:26 (3 months ago)
Author:
mtredinnick
Message:

Fixed #8869 -- Fixed comments templates to be well-formed XHTML.
Based on a patch from zgoda.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/django/contrib/comments/templates/comments/approve.html

    r9050 r9117  
    77  <blockquote>{{ comment|linebreaks }}</blockquote> 
    88  <form action="." method="post"> 
    9     <input type="hidden" name="next" value="{{ next }}" id="next"
     9    <input type="hidden" name="next" value="{{ next }}" id="next" /
    1010    <p class="submit"> 
    11       <input type="submit" name="submit" value="Approve"> or <a href="{{ comment.permalink }}">cancel</a> 
     11      <input type="submit" name="submit" value="Approve" /> or <a href="{{ comment.permalink }}">cancel</a> 
    1212    </p> 
    1313  </form> 
  • django/trunk/django/contrib/comments/templates/comments/delete.html

    r9050 r9117  
    77  <blockquote>{{ comment|linebreaks }}</blockquote> 
    88  <form action="." method="post"> 
    9     <input type="hidden" name="next" value="{{ next }}" id="next"
     9    <input type="hidden" name="next" value="{{ next }}" id="next" /
    1010    <p class="submit"> 
    11       <input type="submit" name="submit" value="Remove"> or <a href="{{ comment.permalink }}">cancel</a> 
     11      <input type="submit" name="submit" value="Remove" /> or <a href="{{ comment.permalink }}">cancel</a> 
    1212    </p> 
    1313  </form> 
  • django/trunk/django/contrib/comments/templates/comments/flag.html

    r9050 r9117  
    77  <blockquote>{{ comment|linebreaks }}</blockquote> 
    88  <form action="." method="post"> 
    9     <input type="hidden" name="next" value="{{ next }}" id="next"
     9    <input type="hidden" name="next" value="{{ next }}" id="next" /
    1010    <p class="submit"> 
    11       <input type="submit" name="submit" value="Flag"> or <a href="{{ comment.permalink }}">cancel</a> 
     11      <input type="submit" name="submit" value="Flag" /> or <a href="{{ comment.permalink }}">cancel</a> 
    1212    </p> 
    1313  </form> 
  • django/trunk/django/contrib/comments/templates/comments/moderation_queue.html

    r9050 r9117  
    2424{% block content %} 
    2525{% if empty %} 
    26   <p id="nocomments">No comments to moderate.</div
     26  <p id="nocomments">No comments to moderate.</p
    2727{% else %} 
    2828<div id="content-main"> 
     
    4646          <td class="actions"> 
    4747            <form action="{% url comments-approve comment.pk %}" method="post"> 
    48               <input type="hidden" name="next" value="{% url comments-moderation-queue %}"
    49               <input class="approve submit" type="submit" name="submit" value="Approve"
     48              <input type="hidden" name="next" value="{% url comments-moderation-queue %}" /
     49              <input class="approve submit" type="submit" name="submit" value="Approve" /
    5050            </form> 
    5151            <form action="{% url comments-delete comment.pk %}" method="post"> 
    52               <input type="hidden" name="next" value="{% url comments-moderation-queue %}"
    53               <input class="remove submit" type="submit" name="submit" value="Remove"
     52              <input type="hidden" name="next" value="{% url comments-moderation-queue %}" /
     53              <input class="remove submit" type="submit" name="submit" value="Remove" /
    5454            </form> 
    5555          </td> 
  • django/trunk/django/contrib/comments/templates/comments/preview.html

    r9050 r9117  
    1212      <blockquote>{{ comment|linebreaks }}</blockquote> 
    1313      <p> 
    14         and <input type="submit" name="submit" value="Post your comment" id="submit"> or make changes: 
     14        and <input type="submit" name="submit" value="Post your comment" id="submit" /> or make changes: 
    1515      </p> 
    1616    {% endif %} 
     
    2828    {% endfor %} 
    2929    <p class="submit"> 
    30       <input type="submit" name="submit" class="submit-post" value="Post"
    31       <input type="submit" name="submit" class="submit-preview" value="Preview"
     30      <input type="submit" name="submit" class="submit-post" value="Post" /
     31      <input type="submit" name="submit" class="submit-preview" value="Preview" /
    3232    </p> 
    3333  </form>