From 84e891ebd021a8aa7f46328df5f89eeb5b9358f0 Mon Sep 17 00:00:00 2001 From: sw <939547590@qq.com> Date: Wed, 3 Jun 2015 10:31:11 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BD=9C=E5=93=81=E5=88=97=E8=A1=A8=E7=95=8C?= =?UTF-8?q?=E9=9D=A2=E4=BD=9C=E4=B8=9A=E4=BF=A1=E6=81=AFTAB=E9=A1=B5?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E9=99=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/student_work/index.html.erb | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/app/views/student_work/index.html.erb b/app/views/student_work/index.html.erb index 92f6cdaa2..9fa678bc4 100644 --- a/app/views/student_work/index.html.erb +++ b/app/views/student_work/index.html.erb @@ -88,6 +88,17 @@
<%= @homework.description.html_safe %>
+ +
+
+ <% unless @homework.attachments.empty?%> + 附件: +
+ <%= render :partial => 'student_work/work_attachments', :locals => {:attachments => @homework.attachments} %> +
+ <% end%> +
+
截止时间:<%= @homework.end_time%>