1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-04-04 05:43:47 +00:00

Put weight class and school names on stats page

This commit is contained in:
2019-01-23 13:20:24 +00:00
parent 4eb75d45d3
commit 100317075b
2 changed files with 5 additions and 3 deletions

View File

@@ -10,6 +10,7 @@
<thead>
<tr>
<th>Wrester</th>
<th>Weight Class</th>
<th>Bout</th>
<th>Match Bracket Position</th>
<th>Stats</th>
@@ -20,7 +21,8 @@
<% @school.wrestlers.each do |wrestler| %>
<% wrestler.all_matches.each do |m| %>
<tr>
<td> <%= wrestler.name %>
<td><%= wrestler.name %></td>
<td><%= wrestler.weight.max %></td>
<td><%= m.bout_number %></td>
<td><%= m.bracket_position %></td>
<td><%= m.list_w1_stats %><br><%= m.list_w2_stats %></td>