1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-05-11 00:03:58 +00:00

Change bracket format to boxes, modularize the brackets, bold the bracket winners, and change the format of the round 1 line

This commit is contained in:
2020-03-04 14:22:29 -05:00
parent d2c68d7c6b
commit 6d5f6d39f7
11 changed files with 279 additions and 661 deletions

View File

@@ -18,7 +18,7 @@
<tbody>
<% @wrestlers.select{|w| w.pool == @pool}.sort_by{|w| w.bracket_line}.each do |w| %>
<tr>
<td><%= w.original_seed %> <%= w.name %> - <%= w.school.name %></td>
<td>[<%= w.original_seed %>] <%="#{w.name} - #{w.school.name} (#{w.season_win}-#{w.season_loss})" %></td>
<% @round = 1 %>
<% until @matches.select{|m| m.round == @round}.blank? %>
<% if @round <= @pools %>