]> git.openstreetmap.org Git - osqa.git/blobdiff - forum_modules/akismet/templates/foundspam.html
Pagination updates
[osqa.git] / forum_modules / akismet / templates / foundspam.html
index 6b203c00a7ffd9f24c131184a638edac6314f9f2..82f647bf8e549c9a3be64bf6bbd23bd408cf5d4a 100644 (file)
@@ -12,23 +12,26 @@ We're sorry, but Akismet believes your {{ action_name }} is spam.<br />
 If you believe this is an error, please contact the forum administrator.
 {% endblocktrans %}
 
+{% if captcha_form.recaptcha %}
 <form action="." method="post">
+{% csrf_token %}
 <table>
        <tr>
                <td>
                {% for post_item in post_data.items %}
                <input type="hidden" name="{{ post_item.0 }}" value="{{ post_item.1 }}" />
                {% endfor %}
-               
+
                {{ captcha_form.recaptcha }}
                
                </td>
        </tr>
        <tr>
-               <td><input type="submit" value"{% trans "Submit" %} /></td>
+               <td><input type="submit" value="{% trans "Submit" %}" /></td>
        </tr>
 </table>
 </form>
+{% endif %}
 
 </div>
 {% endblock %}