<h3 class="sy_right_title">教师团队
  <% if User.current == @syllabus.user || User.current.admin? %>
    <a href="<%=members_syllabus_path(syllabus, :show => 1) %>" class="sy_cmore fr mr10">增加教师</a>
  <% end %>
  <div class="cl"></div>
</h3>
<ul class="sy_teachers_list">
  <% members.each do |member| %>
      <% teacher = member.user %>
      <li >
        <%= link_to image_tag(url_to_avatar(teacher), :width => "60", :height => "60", :class => "sy_teachers_img fl mr15"), user_path(teacher), :target => "_blank", :alt => "用户头像" %>
        <div class="sy_teachers_txt fl">
          <%= link_to teacher.show_name, user_path(teacher), :class => "sy_teachers_name hidden", :target => "_blank", :title => teacher.show_name %>
          <span class="sy_teachers_span">
            <% if teacher.user_extensions && teacher.user_extensions.identity %>
                <%= get_user_roll teacher %>
            <% end%>
          </span>
        </div>
        <div class="cl"></div>
      </li>
  <% end %>
</ul>