作业layout显示提交作业的类型
This commit is contained in:
parent
47647087a6
commit
ac4e74af91
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue