<% @exercise_users_list.each_with_index do |exercise, index|%> <% end%>
序号    姓名 学号 班级    <%= link_to "时间",'',:class => "c_dark f14 fb" ,:remote => true%> <%= link_to "成绩",'',:class => "c_dark f14 fb",:remote => true%>
<%=index + 1 %> <%= link_to(image_tag(url_to_avatar(exercise.user),:width =>"40",:height => "40",:style => "display:block;", :class => "mt15"),user_activities_path(exercise.user)) %> <%=exercise.user.show_name %> --   <% if exercise.created_at%> <%= Time.parse(format_time(exercise.created_at)).strftime("%m-%d %H:%M")%>  <% if @exercise.end_time <= exercise.created_at %> [未答] <% end %> <% end %> <%= exercise.score.nil? ? "--" : format("%.1f",exercise.score)%>