在新窗口中打开作业批次列表中的作业

This commit is contained in:
cxt 2016-04-15 15:57:49 +08:00
parent 9fdd229b2c
commit 4c4afb7a94
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@
<ul style="max-height:240px; overflow-y:auto; overflow-x:hidden;">
<% @homework_commons.each_with_index do |homework_common,index |%>
<li class="pr10">
<%= link_to "作业#{@homework_commons.count - index}#{homework_common.name}",student_work_index_path(:homework => homework_common.id)%>
<%= link_to "作业#{@homework_commons.count - index}#{homework_common.name}",student_work_index_path(:homework => homework_common.id),:target=>"_blank"%>
</li>
<% end%>
</ul>