summaryrefslogtreecommitdiff
path: root/templates/base.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/base.html')
-rw-r--r--templates/base.html6
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" />