<%= notice %>
<%= link_to "Back to #{@tournament.name}", "/tournaments/#{@tournament.id}",:class=>"btn btn-default" %> <% if tournament_permissions(@school.tournament) %> | <%= link_to "Edit #{@school.name}", edit_school_path(@school),:class=>"btn btn-primary" %> <% end %>Name: <%= @school.name %>
Score: <%= @school.score %>
Tournament: <%= Tournament.find(@school.tournament_id).name %>
| Name | Weight | Seed | Record | Seed Criteria | Extra? | <% if tournament_permissions(@school.tournament) %>Actions | <% end %>
|---|---|---|---|---|---|---|
| <%= wrestler.name %> | <%= Weight.find(wrestler.weight_id).max %> | <%= wrestler.original_seed %> | <%= wrestler.season_win %>-<%= wrestler.season_loss %> | <%= wrestler.criteria %> Win <%= wrestler.seasonWinPercentage %>% | <% if wrestler.extra? == true %> Yes <% end %> | <% if tournament_permissions(@school.tournament) %><%= link_to 'Show', wrestler , :class=>"btn btn-default" %> <%= link_to 'Edit', edit_wrestler_path(wrestler),:class=>"btn btn-primary" %> <%= link_to 'Destroy', wrestler, method: :delete, data: { confirm: 'Are you sure?' }, :class=>"btn btn-danger" %> | <% end %>