管理员的作业页面报500
This commit is contained in:
parent
668a724064
commit
6a5b79cf6d
|
@ -29,6 +29,7 @@
|
||||||
<tbody>
|
<tbody>
|
||||||
<%@count=@page*30 %>
|
<%@count=@page*30 %>
|
||||||
<% for homework in @homework do %>
|
<% for homework in @homework do %>
|
||||||
|
<% unless homework.nil? %>
|
||||||
<% @count+=1 %>
|
<% @count+=1 %>
|
||||||
<tr>
|
<tr>
|
||||||
<td align="center">
|
<td align="center">
|
||||||
|
@ -54,6 +55,7 @@
|
||||||
<%=format_date(homework.end_time) %>
|
<%=format_date(homework.end_time) %>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<% end %>
|
||||||
<% end %>
|
<% end %>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
Loading…
Reference in New Issue