{% set enrolled = get_enrolled_courses().in_progress + get_enrolled_courses().completed %}

{% if enrolled | length %}
<div class="cards-parent">
    {% for course in enrolled %}
        {{ widgets.CourseCard(course=course) }}
    {% endfor %}
</div>
{% endif %}
