1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-03-25 01:14:43 +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

@@ -0,0 +1,9 @@
<div class="round">
<% @round_matches.sort_by{|m| m.bracket_position_number}.each do |match| %>
<div class="game">
<div class="game-top "><%= match.w1_bracket_name.html_safe %> <span></span></div>
<div class="bout-number"><%= match.bout_number %> <%= match.bracket_score_string %>&nbsp;</div>
<div class="game-bottom "><%= match.w2_bracket_name.html_safe %><span></span></div>
</div>
<% end %>
</div>