作业layout显示提交作业的类型
This commit is contained in:
parent
47647087a6
commit
ac4e74af91
|
@ -82,6 +82,9 @@
|
||||||
<tr>
|
<tr>
|
||||||
<td><%= l(:label_limit_time) %>: <%= @bid.deadline %></td>
|
<td><%= l(:label_limit_time) %>: <%= @bid.deadline %></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>作业类型: <%=@bid.homework_type==Bid::HomeworkFile ? "提交文件" : "提交项目"%></td>
|
||||||
|
</tr>
|
||||||
<% unless @bid.parent_id.nil?%>
|
<% unless @bid.parent_id.nil?%>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
|
|
Loading…
Reference in New Issue