Commit 8ec8e1a5 authored by Adrian Holovaty's avatar Adrian Holovaty
Browse files

Fixed #8870 -- Changed django.contrib.comments templates to use lowercase...

Fixed #8870 -- Changed django.contrib.comments templates to use lowercase 'post' for <form method> attributes, to be consistent with our other templates. Thanks, zgoda

git-svn-id: http://code.djangoproject.com/svn/django/trunk@9050 bcc190cf-cafb-0310-a4f2-bffc1f526a37
parent 78fd5db4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -5,7 +5,7 @@
{% block content %}
  <h1>Really make this comment public?</h1>
  <blockquote>{{ comment|linebreaks }}</blockquote>
  <form action="." method="POST">
  <form action="." method="post">
    <input type="hidden" name="next" value="{{ next }}" id="next">
    <p class="submit">
      <input type="submit" name="submit" value="Approve"> or <a href="{{ comment.permalink }}">cancel</a>
+1 −1
Original line number Diff line number Diff line
@@ -5,7 +5,7 @@
{% block content %}
  <h1>Really remove this comment?</h1>
  <blockquote>{{ comment|linebreaks }}</blockquote>
  <form action="." method="POST">
  <form action="." method="post">
    <input type="hidden" name="next" value="{{ next }}" id="next">
    <p class="submit">
      <input type="submit" name="submit" value="Remove"> or <a href="{{ comment.permalink }}">cancel</a>
+1 −1
Original line number Diff line number Diff line
@@ -5,7 +5,7 @@
{% block content %}
  <h1>Really flag this comment?</h1>
  <blockquote>{{ comment|linebreaks }}</blockquote>
  <form action="." method="POST">
  <form action="." method="post">
    <input type="hidden" name="next" value="{{ next }}" id="next">
    <p class="submit">
      <input type="submit" name="submit" value="Flag"> or <a href="{{ comment.permalink }}">cancel</a>
+1 −1
Original line number Diff line number Diff line
{% load comments %}
<form action="{% comment_form_target %}" method="POST">
<form action="{% comment_form_target %}" method="post">
  {% for field in form %}
    {% if field.is_hidden %}
      {{ field }}
+2 −2
Original line number Diff line number Diff line
@@ -44,11 +44,11 @@
      {% for comment in comments %}
        <tr class="{% cycle 'row1' 'row2' %}">
          <td class="actions">
            <form action="{% url comments-approve comment.pk %}" method="POST">
            <form action="{% url comments-approve comment.pk %}" method="post">
              <input type="hidden" name="next" value="{% url comments-moderation-queue %}">
              <input class="approve submit" type="submit" name="submit" value="Approve">
            </form>
            <form action="{% url comments-delete comment.pk %}" method="POST">
            <form action="{% url comments-delete comment.pk %}" method="post">
              <input type="hidden" name="next" value="{% url comments-moderation-queue %}">
              <input class="remove submit" type="submit" name="submit" value="Remove">
            </form>
Loading