forked from leftypol/leftypol
main.js: refactor captcha parameters to be managed in JS
This commit is contained in:
parent
584fac7caa
commit
1b3b8cb9b6
6 changed files with 29 additions and 17 deletions
|
@ -9,7 +9,7 @@
|
|||
, board_name = "{{ board.uri }}"
|
||||
, is_overboard = "{{ is_overboard }}";
|
||||
</script>
|
||||
{% include 'captcha_script.html' %}
|
||||
{{ include('captcha_script.html', { form_action_type: 'post_thread' }) }}
|
||||
<title>{{ settings.title }} ( /{{ board.title|e }}/ )</title>
|
||||
{% include 'header.html' %}
|
||||
</head>
|
||||
|
@ -29,7 +29,7 @@
|
|||
<center>[ {% trans 'Create new thread' %} ]</center>
|
||||
</summary>
|
||||
<div style="margin: 1em 0;">
|
||||
{{ include('post_form.html', {form_action_type: 'post-thread'}) }}
|
||||
{% include 'post_form.html' %}
|
||||
</div>
|
||||
</details>
|
||||
{% endif %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue