forked from leftypol/leftypol
post_form.html: add data-action parameter to turnstile captcha
This commit is contained in:
parent
67de8df246
commit
f3c45073cb
4 changed files with 19 additions and 3 deletions
|
@ -106,6 +106,22 @@
|
|||
</td>
|
||||
</tr>
|
||||
{% endif %}
|
||||
{% if config.turnstile %}
|
||||
{% if config.dynamic_captcha %}
|
||||
<tr id="captcha" style="display: none;">
|
||||
{% else %}
|
||||
<tr>
|
||||
{% endif %}
|
||||
<th>
|
||||
{% trans %}Verification{% endtrans %}
|
||||
{{ antibot.html() }}
|
||||
</th>
|
||||
<td>
|
||||
<div class="cf-turnstile" data-sitekey="{{ config.turnstile_public }}" data-action="{{ form_action_type }}"></div>
|
||||
{{ antibot.html() }}
|
||||
</td>
|
||||
</tr>
|
||||
{% endif %}
|
||||
{% if config.securimage %}
|
||||
<tr>
|
||||
<th>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue