diff --git a/app/views/contesters/show.html.erb b/app/views/contesters/show.html.erb index 38f9ce5..22b63ee 100644 --- a/app/views/contesters/show.html.erb +++ b/app/views/contesters/show.html.erb @@ -66,7 +66,11 @@ <% if @contester.can_update? cuser %> - <%= link_to 'Edit', edit_contester_path(@contester), class: 'button' %> + <%= link_to 'Edit Contester', edit_contester_path(@contester), class: 'button' %> +<% end %> + +<% if @contester.team.can_update? cuser %> + <%= link_to 'Edit Team', edit_team_path(@contester.team), class: 'button' %> <% end %>