{% if courses.enrolled.any? %}
  <div class="row row-with-thumbnails">
    {% for course in courses.enrolled %}
      {% for category in course.categories %}
        {% if category.name == 'User Guides' %}
      <div class="{{ class }}">
        {% include "cards_course" with course %}
        {% endif %}
        {% endfor %}
      </div>
    {% endfor %}
  </div>
{% else %}
  {% capture message %}
    {% t shared.zero_state.courses.index,
      key: current_school.course_vocabulary
    %}
  {% endcapture %}
  {% include "courses_zero_state", message: message %}
{% endif %}