Ticket #16031: index.txt-1603.1.diff

File index.txt-1603.1.diff, 661 bytes (added by Daniel Quinn, 13 years ago)

Added {% csrf_token %}

  • 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