编程作业编译出错时错误信息的显示

This commit is contained in:
sw 2015-07-23 10:14:55 +08:00
parent 61cbfc90ff
commit 69024b2489
1 changed files with 3 additions and 2 deletions

View File

@ -48,8 +48,9 @@
<% student_work_test = @work.student_work_test.first%>
<% if student_work_test && student_work_test.error_msg && !student_work_test.error_msg.empty?%>
<tr class="border_t" >
<td colspan="3" class="td_end" >编程错误信息编程错误信息编程错误信息编程错误信息编程错误信息编程错误信息编程错误信息编程错误信息编程错误信息编程错误信息编程错误信息编程错误信息编程错误信息编程错误信息编程错误信息编程错误信息编程错误信息编程错误信息编程错误信息</td>
<td colspan="3" class="td_end" >
<%= student_work_test.error_msg%>
</td>
</tr>
<% end%>