{% load django_bootstrap5 coderedcms_tags wagtailcore_tags %} {% with page=self.page.specific %} {% if page.form_live %} {% get_pageform page request as form %}
{% csrf_token %} {% bootstrap_form form layout="horizontal" %} {% block captcha %} {% if page.spam_protection %} {% include "coderedcms/includes/form_honeypot.html" %} {% endif %} {% endblock %}
{% endif %} {% endwith %}