diff --git a/templates/index.html b/templates/index.html index 696796df..a7794a52 100644 --- a/templates/index.html +++ b/templates/index.html @@ -58,7 +58,7 @@ {{ config.ad.top }} {% if not no_post_form %} - {% include 'post_form.html' %} + {% include('post_form.html', {form_action_type: 'post-thread'}) %} {% else %} {% include 'boardlist.html' %} {% endif %} diff --git a/templates/post_form.html b/templates/post_form.html index f65c12f9..b3f1d8ce 100644 --- a/templates/post_form.html +++ b/templates/post_form.html @@ -106,6 +106,22 @@ {% endif %} + {% if config.turnstile %} + {% if config.dynamic_captcha %} + + {% else %} + + {% endif %} + + {% trans %}Verification{% endtrans %} + {{ antibot.html() }} + + +
+ {{ antibot.html() }} + + + {% endif %} {% if config.securimage %} diff --git a/templates/themes/catalog/catalog.html b/templates/themes/catalog/catalog.html index 6d4669ed..5bd21141 100644 --- a/templates/themes/catalog/catalog.html +++ b/templates/themes/catalog/catalog.html @@ -28,7 +28,7 @@
[ {% trans 'Create new thread' %} ]
- {% include 'post_form.html' %} + {% include('post_form.html', {form_action_type: 'post-thread'}) %}
{% endif %} diff --git a/templates/thread.html b/templates/thread.html index 89569ff2..50f42be2 100644 --- a/templates/thread.html +++ b/templates/thread.html @@ -55,7 +55,7 @@ {{ config.ad.top }} - {% include 'post_form.html' %} + {% include('post_form.html', {form_action_type: 'post-reply'}) %} {% if config.global_message %}
{{ config.global_message }}
{% endif %}