作业layout显示提交作业的类型

This commit is contained in:
yanxd 2014-04-10 09:34:09 +08:00
parent 47647087a6
commit ac4e74af91
1 changed files with 3 additions and 0 deletions

View File

@ -82,6 +82,9 @@
<tr>
<td><%= l(:label_limit_time) %>: <%= @bid.deadline %></td>
</tr>
<tr>
<td>作业类型: <%=@bid.homework_type==Bid::HomeworkFile ? "提交文件" : "提交项目"%></td>
</tr>
<% unless @bid.parent_id.nil?%>
<tr>
<td>