06/15 Phase 1 + 2 codes
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
{% macro field(f) %}
|
||||
<div class="field">
|
||||
{{ f.label }}
|
||||
{{ f(class="input") }}
|
||||
{% if f.errors %}
|
||||
<ul class="errors">
|
||||
{% for e in f.errors %}<li>{{ e }}</li>{% endfor %}
|
||||
</ul>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endmacro %}
|
||||
|
||||
{% macro turnstile_widget(enabled) %}
|
||||
{% if enabled and TURNSTILE_SITE_KEY %}
|
||||
<div class="cf-turnstile" data-sitekey="{{ TURNSTILE_SITE_KEY }}"></div>
|
||||
<script src="https://challenges.cloudflare.com/turnstile/v0/api.js" async defer></script>
|
||||
{% endif %}
|
||||
{% endmacro %}
|
||||
Reference in New Issue
Block a user