Ticket #8870: contrib-comments-templates-style.diff

File contrib-comments-templates-style.diff, 5.7 KB (added by Jarek Zgoda, 16 years ago)

Style fix for templates in comments framework

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

     
    55{% block content %}
    66  <h1>Really make this comment public?</h1>
    77  <blockquote>{{ comment|escape|linebreaks }}</blockquote>
    8   <form action="." method="POST">
     8  <form action="." method="post">
    99    <input type="hidden" name="next" value="{{ next|escape }}" id="next">
    1010    <p class="submit">
    1111      <input type="submit" name="submit" value="Approve"> or <a href="{{ comment.permalink }}">cancel</a>
    1212    </p>
    1313  </form>
    14 {% endblock %}
    15  No newline at end of file
     14{% endblock %}
  • django/contrib/comments/templates/comments/reply_preview.html

     
    44
    55{% block content %}
    66  {% load comments %}
    7   <form action="{% comment_form_target %}" method="POST">
     7  <form action="{% comment_form_target %}" method="post">
    88    {% if form.errors %}
    99      <h1>Please correct the error{{ form.errors|pluralize }} below</h1>
    1010    {% else %}
  • django/contrib/comments/templates/comments/preview.html

     
    44
    55{% block content %}
    66  {% load comments %}
    7   <form action="{% comment_form_target %}" method="POST">
     7  <form action="{% comment_form_target %}" method="post">
    88    {% if form.errors %}
    99      <h1>Please correct the error{{ form.errors|pluralize }} below</h1>
    1010    {% else %}
     
    3131      <input type="submit" name="submit" class="submit-preview" value="Preview">
    3232    </p>
    3333  </form>
    34 {% endblock %}
    35  No newline at end of file
     34{% endblock %}
  • django/contrib/comments/templates/comments/delete.html

     
    55{% block content %}
    66  <h1>Really remove this comment?</h1>
    77  <blockquote>{{ comment|escape|linebreaks }}</blockquote>
    8   <form action="." method="POST">
     8  <form action="." method="post">
    99    <input type="hidden" name="next" value="{{ next|escape }}" id="next">
    1010    <p class="submit">
    1111      <input type="submit" name="submit" value="Remove"> or <a href="{{ comment.permalink }}">cancel</a>
    1212    </p>
    1313  </form>
    14 {% endblock %}
    15  No newline at end of file
     14{% endblock %}
  • django/contrib/comments/templates/comments/form.html

     
    11{% load comments %}
    2 <form action="{% comment_form_target %}" method="POST">
     2<form action="{% comment_form_target %}" method="post">
    33  {% for field in form %}
    44    {% if field.is_hidden %}
    55      {{ field }}
  • django/contrib/comments/templates/comments/moderation_queue.html

     
    4444      {% for comment in comments %}
    4545        <tr class="{% cycle 'row1' 'row2' %}">
    4646          <td class="actions">
    47             <form action="{% url comments-approve comment.pk %}" method="POST">
     47            <form action="{% url comments-approve comment.pk %}" method="post">
    4848              <input type="hidden" name="next" value="{% url comments-moderation-queue %}">
    4949              <input class="approve submit" type="submit" name="submit" value="Approve">
    5050            </form>
    51             <form action="{% url comments-delete comment.pk %}" method="POST">
     51            <form action="{% url comments-delete comment.pk %}" method="post">
    5252              <input type="hidden" name="next" value="{% url comments-moderation-queue %}">
    5353              <input class="remove submit" type="submit" name="submit" value="Remove">
    5454            </form>
  • django/contrib/comments/templates/comments/flag.html

     
    55{% block content %}
    66  <h1>Really flag this comment?</h1>
    77  <blockquote>{{ comment|escape|linebreaks }}</blockquote>
    8   <form action="." method="POST">
     8  <form action="." method="post">
    99    <input type="hidden" name="next" value="{{ next|escape }}" id="next">
    1010    <p class="submit">
    1111      <input type="submit" name="submit" value="Flag"> or <a href="{{ comment.permalink }}">cancel</a>
    1212    </p>
    1313  </form>
    14 {% endblock %}
    15  No newline at end of file
     14{% endblock %}
  • django/contrib/comments/templates/comments/reply.html

     
    11{% load comments %}
    2 <form action="{% comment_form_target %}" method="POST">
     2<form action="{% comment_form_target %}" method="post">
    33  {% for field in form %}
    44    {% if field.is_hidden %}
    55      {{ field }}
Back to Top