diff --git a/app/views/schools/show.html.erb b/app/views/schools/show.html.erb index fb16a5c..967aac9 100644 --- a/app/views/schools/show.html.erb +++ b/app/views/schools/show.html.erb @@ -18,7 +18,6 @@ <%= link_to "Back to #{@tournament.name}", "/tournaments/#{@tournament.id}" %> | <% if user_signed_in? %> <%= link_to "Edit #{@school.name}", edit_school_path(@school) %> | - <%= link_to 'Back to Admin', '/admin/index' %> <% end %> diff --git a/app/views/weights/show.html.erb b/app/views/weights/show.html.erb index 9bd26ee..94057cc 100644 --- a/app/views/weights/show.html.erb +++ b/app/views/weights/show.html.erb @@ -1,10 +1,12 @@
<%= notice %>
<%= notice %>
+<%= link_to "Back to #{@school.name}", "/schools/#{@school.id}" %> | +<% if user_signed_in? %> + <%= link_to "Edit #{@wrestler.name}", edit_wrestler_path(@wrestler) %> | +<% end %> +Name: <%= @wrestler.name %> @@ -15,15 +20,8 @@ <%= Weight.find(@wrestler.weight_id).max %>
-- Seed: - <%= @wrestler.seed %> -
-Original seed: <%= @wrestler.original_seed %>
-<%= link_to 'Edit', edit_wrestler_path(@wrestler) %> | -<%= link_to 'Back', wrestlers_path %>