{% load static webform_tags %}
{# Form section on a display page (WebFormSection). Context: section and webform.sections.section_context. Sites may override this template. #}
{% if section.title %}<{{ section.title_level|default:'h2' }} class="webform-section__title">{{ section.title }}{{ section.title_level|default:'h2' }}>{% endif %}
{% if section.intro %}
{{ section.intro|webform_html }}
{% endif %}
{% if webform %}
{% turnstile_script webform %}
{% include "webform/includes/public_form.html" with submission_success=submitted hide_title=True %}
{% elif user.is_authenticated %}
No form chosen yet: edit this section to pick or create one.