优化课程中作品下内容显示代码

This commit is contained in:
daiao 2016-07-11 16:03:45 +08:00
parent 00d59a5596
commit 97599849ee
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@
<% com_contents = work.work_status %>
<% if com_contents != 0 && work.description %>
<div class="showHworkP break_word upload_img" id="student_work_img_<%= work.id %>">
<%= work.description.html_safe if work.description%>
<%= work.description.html_safe %>
</div>
<% else %>
<span style="color: #999999">该作品未在线下完成提交</span>