<%= notice %>
Name: <%= @school.name %>
Score: <%= @school.score %>
Tournament: <%= Tournament.find(@school.tournament_id).name %>
<%= link_to "Edit #{@school.name}", edit_school_path(@school) %> | <%= link_to 'Back to Schools', schools_path %> | <%= link_to 'Back to Admin', '/admin/index' %>| Name | Weight | Seed | Original seed | Actions |
|---|---|---|---|---|
| <%= wrestler.name %> | <%= Weight.find(wrestler.weight_id).max %> | <%= wrestler.seed %> | <%= wrestler.original_seed %> | <%= link_to 'Show', wrestler , :class=>"btn" %><%= link_to 'Edit', edit_wrestler_path(wrestler), :class=>"btn" %><%= link_to 'Destroy', wrestler, method: :delete, data: { confirm: 'Are you sure?' }, :class=>"btn btn-danger" %> |