diff options
| author | Morgana <Morgana@icolotl.com> | 2026-10-03 10:25:51 -0500 |
|---|---|---|
| committer | Morgana <Morgana@icolotl.com> | 2026-10-03 10:25:51 -0500 |
| commit | dfe2069c1dd4eb14d44a57d35d76afdc47d1598e (patch) | |
| tree | 88d2a4688bbc536af1d90ce12118cbf028f9f60b /templates/base.html | |
| parent | e96fdc880d45ab22eea5eb1210fe767ce7fcd34e (diff) | |
Initial captcha code
Diffstat (limited to 'templates/base.html')
| -rw-r--r-- | templates/base.html | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/base.html b/templates/base.html index df1b899..caf8da7 100644 --- a/templates/base.html +++ b/templates/base.html @@ -1,6 +1,12 @@ <!DOCTYPE html> <html lang="en"> +{% macro render_captcha(captcha) %} +<drosera-captcha data-size="{{ captcha.size }}" data-label="{{ captcha.make_label() }}" + data-lock="{{ captcha.make_lock() }}" {% if captcha.reload %}data-reload{% endif %} {% if has_captcha(captcha.id) + %}data-solved{% endif %}></drosera-captcha> +{% endmacro %} + <head> <title>Drosera Springs | {% block title %}Website{% endblock %}</title> <link rel="preload" href="/static/img/bgcropped.webp" as="image" fetchpriority="high" /> |