      <table id="user-table" class="table table-striped table-hover" data-search-form="#user-search-form">
          <thead>
            <tr>
              <th width="50%">课程</th>
              <th>创建者</th>
              <th>学生数</th>
              {#<th>价格</th> #}
            </tr>
          </thead>
          <tbody>
            {% if courseDetail %}
            {% for data in courseDetail %}
              <tr>
                  <td> <a href="{{ path('course_show', {id:data.id}) }}" target="_blank"><strong>{{ data.title }}</strong></a><br><span class="text-muted text-sm">分类：{{ categories[data.categoryId].name|default('--') }}</span></td>
                   <td>{{ admin_macro.user_link(users[data.userId]) }}<br>{{data.createdTime|date("Y-m-d H:i:s")}}</td>
                   <td>{{data.studentNum}}</td>
                   {# <td class="text-danger">{{data.price}}</td> #}
              </tr>
            {% endfor %}
            {% endif %}
          </tbody>
      </table>    
      {{ web_macro.paginator(paginator) }}