Ticket #16031: index.txt-1603.1.2.diff

File index.txt-1603.1.2.diff, 739 bytes (added by danielquinn, 4 years ago)

Fixed the patch so that it can be applied from the root.

  • docs/ref/contrib/comments/index.txt

     
    219219
    220220    {% get_comment_form for event as form %}
    221221    <form action="{% comment_form_target %}" method="post">
     222      {% csrf_token %}
    222223      {{ form }}
    223224      <tr>
    224225        <td></td>
    225         <td><input type="submit" name="preview" class="submit-post" value="Preview"></td>
     226        <td>
     227          <input type="submit" name="submit" class="submit-post" value="Post">
     228          <input type="submit" name="preview" class="submit-post" value="Preview">
     229        </td>
    226230      </tr>
    227231    </form>
    228232
Back to Top