]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/skins/default/templates/answer_edit.html
Resolves OSQA-661, adding functionality to allow deleting static pages in the adminis...
[osqa.git] / forum / skins / default / templates / answer_edit.html
index 985adddc84829781f5f1babff6a8e92226ea7ef2..9409f0d8987b87ee223fe3a05e832e605ed2760f 100644 (file)
@@ -63,7 +63,8 @@
 </div>
 <div id="main-body" class="ask-body">
     <div id="askform">
-        <form id="fmedit" action="{% url edit_answer answer.id %}" method="post" >
+        <form id="fmedit" action="{% url edit_answer answer.id %}" method="post">
+            {% csrf_token %}
             <label for="id_revision" ><strong>{% trans "revision" %}:</strong></label> <br/> 
             {% if revision_form.revision.errors %}{{ revision_form.revision.errors.as_ul }}{% endif %}
             <div>