diff --git a/app/views/layouts/base_bids.html.erb b/app/views/layouts/base_bids.html.erb index 5c680ce9b..e212617f8 100644 --- a/app/views/layouts/base_bids.html.erb +++ b/app/views/layouts/base_bids.html.erb @@ -69,7 +69,7 @@ <%= h @bid.name %> - <% if ( !(User.current.member_of? @project) && User.current.login?) %> + <% if User.current.login? %> <%= link_to(l(:label_fork_homework_new), fork_path(@bid)) %> diff --git a/app/views/layouts/base_contest.html.erb b/app/views/layouts/base_contest.html.erb index 5dc4e7574..b62ef96fc 100644 --- a/app/views/layouts/base_contest.html.erb +++ b/app/views/layouts/base_contest.html.erb @@ -60,7 +60,7 @@ <%= h @bid.name %> - <% if ( !(User.current.member_of? @project) && User.current.login?) %> + <% if User.current.login? %> <%= join_in_contest(@bid, User.current)%>