From 287e9151a2ec56edef11c07fb99e7a6f7e35d249 Mon Sep 17 00:00:00 2001 From: sw <939547590@qq.com> Date: Sat, 22 Nov 2014 12:43:42 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A6=82=E6=9E=9C=E8=AF=BE=E7=A8=8B=E6=B2=A1?= =?UTF-8?q?=E6=9C=89=E9=99=84=E4=BB=B6=EF=BC=8C=E5=8F=96=E6=B6=88=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E9=99=84=E4=BB=B6=E5=88=97=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/layouts/base_homework.html.erb | 41 ++++++++++++------------ 1 file changed, 20 insertions(+), 21 deletions(-) diff --git a/app/views/layouts/base_homework.html.erb b/app/views/layouts/base_homework.html.erb index ec6214493..811540323 100644 --- a/app/views/layouts/base_homework.html.erb +++ b/app/views/layouts/base_homework.html.erb @@ -161,31 +161,30 @@
-- - <%= l(:label_attachment) %> : - - | -|||||
- <% if @bid.attachments.any?%>
+ <% unless @bid.attachments.empty? %>
+
+
+
|