{% extends "enap_designsystem/base.html" %} {% load static %} {% load wagtailcore_tags wagtailimages_tags %} {% block metadata %} {% comment %} {% endcomment %} {% endblock %} {% block title %} {{ page.page_title }} {% endblock %} {%block govnavbar %}
{% endblock %} {% block navbar %} {% if page.navbar %} {% include "enap_designsystem/blocks/navbar/navbar_block.html" with navbar=page.navbar %} {% else %}

DEBUG: Nenhuma Navbar foi definida.

{% endif %} {% endblock %} {% block content %} {% if page.modalenap %} {% include "enap_designsystem/blocks/modal.html" with modal=page.modalenap %} {% endif %}
{% for block in page.feature %}
{{ block }} {# Renderiza cada bloco do StreamField diretamente #}
{% empty %} {% endfor %}
{% for block in page.body %}
{{ block }} {# Renderiza cada bloco do StreamField diretamente #}
{% empty %} {% endfor %}
{% if page.wizard %} {% with steps=page.wizard.steps.all current_step=1 id=page.wizard.id %} {% include "enap_designsystem/blocks/wizard.html" %} {% endwith %} {% endif %}
{% for block in page.accordion_cursos %} {% if block.block_type == 'button_group' %} {% include "enap_designsystem/blocks/buttongroup.html" with buttons=block.value.buttons style=block.value.style %} {% elif block.block_type == 'enap_accordion' %} {% include_block block %} {% elif block.block_type == 'dropdown' %} {% include_block block %} {% elif block.block_type == 'carousel' %} {% include "enap_designsystem/blocks/carousel.html" with id=block.id value=block.value %} {% endif %} {% endfor %}
{% with ancestors=page.get_ancestors current_page=page %} {% include "enap_designsystem/blocks/breadcrumbs.html" %} {% endwith %}
{% block formulario %} {% include "enap_designsystem/blocks/form_template.html" %} {% endblock %}
{% block Alert %} {% include "enap_designsystem/blocks/alerts.html" %} {% endblock %}
{% block tab %} {% include "enap_designsystem/blocks/draft_tab.html" %} {% endblock %}
{% endblock %} {% block footer %} {% include "enap_designsystem/includes/footer.html" %} {% endblock %}