]> git.openstreetmap.org Git - osqa.git/blobdiff - forum_modules/akismet/templates/foundspam.html
Resolves OSQA-721, adding the ViewBox images in a separate directory in the media...
[osqa.git] / forum_modules / akismet / templates / foundspam.html
index 03bc660bd19ade70cba1fb19e5e7ed1ac27883c5..582d61526aa9b2a60b27ae8cb62678b3b4e7f249 100644 (file)
@@ -12,20 +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 you believe this is an error, please contact the forum administrator.
 {% endblocktrans %}
 
+{% if captcha_form.recaptcha %}
 <form action="." method="post">
 <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 %}
 <table>
        <tr>
                <td>
                {% for post_item in post_data.items %}
                <input type="hidden" name="{{ post_item.0 }}" value="{{ post_item.1 }}" />
                {% endfor %}
-               {{ captcha_form.captcha }}</td>
+
+               {{ captcha_form.recaptcha }}
+               
+               </td>
        </tr>
        <tr>
                <td><input type="submit" value"{% trans "Submit" %} /></td>
        </tr>
 </table>
 </form>
        </tr>
        <tr>
                <td><input type="submit" value"{% trans "Submit" %} /></td>
        </tr>
 </table>
 </form>
+{% endif %}
 
 </div>
 
 </div>
-{% endblock %}
\ No newline at end of file
+{% endblock %}