1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-05-09 07:11:59 +00:00

Create bracket views with upcomingMatches

This commit is contained in:
2015-03-16 08:35:56 -04:00
parent 7b9422fd6c
commit 2843760779
8 changed files with 34 additions and 71 deletions

View File

@@ -14,11 +14,11 @@
<% @poolOneWrestlers.each do |w| %>
<tr>
<td><%= w.original_seed %> <%= w.name %> <%= w.season_win %>-<%= w.season_loss %> <%= w.school.name %></td>
<td><%= w.boutByRound(1) %><br>Result</td>
<td><%= w.boutByRound(2) %></td>
<td><%= w.boutByRound(3) %></td>
<td><%= w.boutByRound(4) %></td>
<td><%= w.boutByRound(5) %></td>
<td><%= w.boutByRound(1,@matches) %><br>Result</td>
<td><%= w.boutByRound(2,@matches) %></td>
<td><%= w.boutByRound(3,@matches) %></td>
<td><%= w.boutByRound(4,@matches) %></td>
<td><%= w.boutByRound(5,@matches) %></td>
</tr>
<% end %>
</tbody>