{% extends 'wagtailcrx/blocks/base_block.html' %} {% load bootstrap4 wagtailcrx_tags wagtailcore_tags %} {% block block_render %} {% 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 'wagtailcrx/includes/form_honeypot.html' %} {% endif %} {% endblock %}
{% endif %} {% endwith %} {% endblock %}