You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
pgfqe6ch8/app/views/courses/member.html.erb

19 lines
622 B

6 years ago
<div class="stud-class-set">
<p class=" head">
<%= link_to @course.name, course_path(@course),:class => "color-grey-9" %> >
<span>成员列表</span>
</p>
<div class="people clearfix" id="member_student_list">
<% if params[:role] == 't' %>
<%= render :partial => 'member_teacher_list' %>
<% elsif params[:role] == 'as' %>
<%= render :partial => 'member_all_student_list'%>
<% elsif params[:role] == 'ns' %>
<%= render :partial => 'member_no_group_student_list' %>
<% else %>
<%= render :partial => 'member_group_student_list' %>
<% end %>
</div>
</div>