diff --git a/app/views/syllabuses/members.html.erb b/app/views/syllabuses/members.html.erb index c9b117411..456845400 100644 --- a/app/views/syllabuses/members.html.erb +++ b/app/views/syllabuses/members.html.erb @@ -13,8 +13,11 @@
<%= render :partial => 'syllabus_member_list' %> - 添加成员 + <% if User.current == @syllabus.user %> + 添加成员 + <% end %>
+ <% if User.current == @syllabus.user %> + <% end %>