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:
@@ -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 %>
|
||||
|
||||
Reference in New Issue
Block a user