post_form.html: use new config style

This commit is contained in:
Zankaria 2025-02-08 18:14:52 +01:00
parent d34b1e105e
commit 4eb12479ec

View file

@ -90,8 +90,8 @@
{% endif %}
</td>
</tr>{% endif %}
{% if config.recaptcha %}
{% if config.dynamic_captcha %}
{% if config.captcha.mode == 'recaptcha' %}
{% if config.captcha.dynamic %}
<tr id="captcha" style="display: none;">
{% else %}
<tr>
@ -101,13 +101,13 @@
{{ antibot.html() }}
</th>
<td>
<div class="g-recaptcha" data-sitekey="{{ config.recaptcha_public }}"></div>
<div class="g-recaptcha" data-sitekey="{{ config.captcha.recaptcha.public }}"></div>
{{ antibot.html() }}
</td>
</tr>
{% 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 %}
<tr id="captcha" style="display: none;">
{% else %}
<tr>