{% if courses.enrolled.any? %}
  <div id="dash-sort" class="row row-with-thumbnails">
    {% for course in courses.enrolled %}
        {% include "cards_course" with course, class: "col-xs-12 col-sm-6 np-stretch-content"  %}
    {% endfor %}
  </div>
{% else %}
  {% capture message %}
    {% t shared.zero_state.courses.index,
      key: current_school.course_vocabulary
    %}
  {% endcapture %}
  {% include "courses_zero_state", message: message %}
{% endif %}
