{% comment %}Choose between wagtail block or Form snippet{% endcomment %} {% if value.form %} {% include 'cms/blocks/common/form_content.html' with form=value.form %} {% else %} {% include 'cms/blocks/common/form_content.html' with form=form %} {% endif %}