From 4eb12479ec2d76f7369f9927097634dbe0c14c15 Mon Sep 17 00:00:00 2001 From: Zankaria Date: Sat, 8 Feb 2025 18:14:52 +0100 Subject: [PATCH] post_form.html: use new config style --- templates/post_form.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/templates/post_form.html b/templates/post_form.html index adca9ef6..6cb0ea7a 100644 --- a/templates/post_form.html +++ b/templates/post_form.html @@ -90,8 +90,8 @@ {% endif %} {% endif %} - {% if config.recaptcha %} - {% if config.dynamic_captcha %} + {% if config.captcha.mode == 'recaptcha' %} + {% if config.captcha.dynamic %} {% else %} @@ -101,13 +101,13 @@ {{ antibot.html() }} -
+
{{ antibot.html() }} {% endif %} - {% if config.hcaptcha or config.turnstile %} - {% if config.dynamic_captcha %} + {% if config.captcha.mode == 'hcaptcha' or config.captcha.mode == 'turnstile' %} + {% if config.captcha.dynamic %} {% else %}