diff --git a/nyaa/static/js/main.js b/nyaa/static/js/main.js
index 4bca446..4cb58df 100644
--- a/nyaa/static/js/main.js
+++ b/nyaa/static/js/main.js
@@ -118,6 +118,9 @@ $(document).ready(function() {
$errorStatus.text(error);
}).always(function() {
$submitButton.removeAttr('disabled');
+ if (grecaptcha) {
+ grecaptcha.reset();
+ }
$waitIndicator.hide();
});
})
diff --git a/nyaa/templates/help.html b/nyaa/templates/help.html
index 47cbbf5..9b9011e 100644
--- a/nyaa/templates/help.html
+++ b/nyaa/templates/help.html
@@ -14,7 +14,7 @@
- Torrents uploaded by trusted users.
- Red entries (remake) are torrents that matching any of the following:
+ Red entries (remake) are torrents that match any of the following:
- Reencode of original release.
- Remux of another uploader's original release for hardsubbing and/or fixing purposes.
diff --git a/nyaa/templates/view.html b/nyaa/templates/view.html
index ffad138..57ac6ae 100644
--- a/nyaa/templates/view.html
+++ b/nyaa/templates/view.html
@@ -178,6 +178,23 @@
+ {% if config.USE_RECAPTCHA and g.user.age < config['ACCOUNT_RECAPTCHA_AGE'] %}
+
+
+ {% if comment_form.recaptcha.errors %}
+
+
CAPTCHA error:
+
+ {% for error in comment_form.recaptcha.errors %}
+ - {{ error }}
+ {% endfor %}
+
+
+ {% endif %}
+ {{ comment_form.recaptcha }}
+
+
+ {% endif %}