{% if not teachers is empty %}
  <div class="panel panel-default">
    <div class="panel-heading">
      <h3 class="panel-title">{{ 'course.teacher.content_title'|trans }}</h3>
    </div>
    <div class="panel-body">
      {% for teacher in teachers %}
        <div class="media media-default">
          <div class="media-left">
            <a class="js-user-card" href="{{ path('user_show', {'id': teacher.id}) }}"
               data-card-url="{{ path('user_card_show', {'userId': teacher.id}) }}"
               data-user-id="{{ teacher.id }}"
               data-original-title="" title="">
              <img class="avatar-md" src="{{ filepath(teacher.mediumAvatar, 'avatar.png') }}"></a>
          </div>
          <div class="media-body">
            <div class="title">
              <a class="link-dark link-dark" href="{{ path('user_show', {'id': teacher.id}) }}">{{ teacher.nickname }}</a>
            </div>
            <div class="content">{{ teacher.title }}</div>
          </div>
        </div>
      {% endfor %}
    </div>
  </div>
{% endif %}
