Can anyone help me troubleshoot this Django template code? I have noticed that the main-card-faq div is being rendered inside the main-card div even though it's clearly outside. Any thoughts on what might be causing this issue?
{% extends 'base.html' %}
{% block content %}
<div class="main-card">
{% if heading_info %}
{% for heading in heading_info %}
{% include 'partials/_heading.html' %}
{% endfor %}
{% endif %}
{% if welcome_info %}
{% for welcome in welcome_info%}
{% include 'partials/_welcome.html' %}
{% endfor %}
{% endif %}
{% comment %} {% if skills_info %}
{% for skill in skills_info%}
{% include 'partials/_skills.html' %}
{% endfor %}
{% endif %} {% endcomment %}
</div>
<div class="main-card-faq">
{% include 'partials/_faq.html' %}
</div>
test
{% endblock %}