分组作业的作品列表显示“X组已交”
This commit is contained in:
parent
40a895a786
commit
9c4eed3cdd
|
@ -2,7 +2,7 @@
|
|||
<span class="c_dark f14 fb fl mr15">
|
||||
作品
|
||||
<font class="f12 c_red">
|
||||
(<span id="student_work_count"><%= @student_work_count%></span>人已交)
|
||||
(<span id="student_work_count"><%= @student_work_count%></span><%=@homework.homework_type == 3 ? '组' : '人' %>已交)
|
||||
</font>
|
||||
<%# my_work = @homework.student_works.where("user_id = #{User.current.id}").first %>
|
||||
<% my_work = cur_user_works_for_homework @homework %>
|
||||
|
|
Loading…
Reference in New Issue