forked from leftypol/leftypol
post_form.html: use new config style
This commit is contained in:
parent
d34b1e105e
commit
4eb12479ec
1 changed files with 5 additions and 5 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue