]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/skins/default/templates/answer_edit.html
resolves an issue with the vertical alignment of the text in the form buttons
[osqa.git] / forum / skins / default / templates / answer_edit.html
index c0315e6df03b9332c2ccd4b814009d1fbdd9a7b4..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>
                 {{ form.summary.help_text }}
             </div>
             
-            {% if form.captcha %}
+            {% if form.recaptcha %}
             <div class="question-captcha">
-               {{ form.captcha.errors }}
-               {{ form.captcha }}
+               {{ form.recaptcha.errors }}
+               {{ form.recaptcha }}
             </div>
             {% endif %}