diff --git a/app/views/student_work/edit.html.erb b/app/views/student_work/edit.html.erb index bfdf8c316..6ca609502 100644 --- a/app/views/student_work/edit.html.erb +++ b/app/views/student_work/edit.html.erb @@ -7,7 +7,7 @@
-
+ diff --git a/app/views/student_work/new.html.erb b/app/views/student_work/new.html.erb index c3a61d4c8..a71120d55 100644 --- a/app/views/student_work/new.html.erb +++ b/app/views/student_work/new.html.erb @@ -83,7 +83,7 @@
-
+ diff --git a/app/views/users/_user_homework_attachment.html.erb b/app/views/users/_user_homework_attachment.html.erb index bba7627b1..5f4cb4a8e 100644 --- a/app/views/users/_user_homework_attachment.html.erb +++ b/app/views/users/_user_homework_attachment.html.erb @@ -48,10 +48,12 @@
<% if @homework && @homework.homework_type == 3 %> - - 合作成员:<%=User.current.show_name %>(组长) - - + <% unless defined?(show_member) && show_member %> + + 合作成员:<%=User.current.show_name %>(组长) + + + <% end %> <% end %>