Skip to content

Commit

Permalink
Fixed a missing {% csrf_token %}.
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobian committed May 10, 2011
1 parent dc8548a commit 44de0dd
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions faq/templates/faq/submit_question.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@
{% block title %}{{ block.super }}: Add Question{% endblock %}

{% block body %}

<h3>Submit Question</h3>
<p>
Use this form to submit a question (and optionally a corresponding answer) that you would like to see added to the FAQs on this site.
Use this form to submit a question (and optionally a corresponding answer)
that you would like to see added to the FAQs on this site.
</p>
<form action="." method="POST">
<table>
{{ form.as_table }}
</table>
<input type="submit" value="Submit"/>
{% csrf_token %}
<table>
{{ form.as_table }}
</table>
<input type="submit" value="Submit"/>
</form>

{% endblock %}

0 comments on commit 44de0dd

Please sign in to comment.