学生提交作品的作业信息页面显示作业附件

This commit is contained in:
cxt 2015-10-27 09:58:19 +08:00
parent 7c34927b3a
commit afd02d90a5
1 changed files with 4 additions and 0 deletions

View File

@ -59,6 +59,10 @@
<div class="HomeWorkP">
<%= @homework.description.html_safe %>
</div>
<div>
<%= render :partial => 'student_work/work_attachments', :locals => {:attachments => @homework.attachments} %>
<div class="cl"></div>
</div>
</div>
</div><!----HomeWorkBox end-->
<div class="cl"></div>