From a218015e57b6dff424eafefb9319f9f27498e23a Mon Sep 17 00:00:00 2001 From: sw <939547590@qq.com> Date: Wed, 27 May 2015 17:51:26 +0800 Subject: [PATCH] =?UTF-8?q?1=E3=80=81=E4=BD=9C=E4=B8=9A=E9=99=84=E4=BB=B6?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E4=B8=8D=E6=AD=A3=E7=A1=AE=202=E3=80=81?= =?UTF-8?q?=E6=B2=A1=E5=AD=A6=E5=8F=B7=E6=97=B6=E4=BD=9C=E5=93=81=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E6=98=BE=E7=A4=BA=E6=9C=89=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/student_work/_show.html.erb | 6 ++++-- app/views/student_work/_student_work.html.erb | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/app/views/student_work/_show.html.erb b/app/views/student_work/_show.html.erb index ab41eda65..15c62d204 100644 --- a/app/views/student_work/_show.html.erb +++ b/app/views/student_work/_show.html.erb @@ -17,7 +17,7 @@ <% end%>
  • 内容: -

    +

    <%= @work.description%>

    @@ -27,7 +27,9 @@ <% if @work.attachments.empty?%> 尚未提交附件 <% else%> - <%= render :partial => 'work_attachments', :locals => {:attachments => @work.attachments} %> +
    + <%= render :partial => 'work_attachments', :locals => {:attachments => @work.attachments} %> +
    <% end%>
  • diff --git a/app/views/student_work/_student_work.html.erb b/app/views/student_work/_student_work.html.erb index 7e01af5b6..568172970 100644 --- a/app/views/student_work/_student_work.html.erb +++ b/app/views/student_work/_student_work.html.erb @@ -1,6 +1,6 @@