1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-03-25 01:14:43 +00:00

Added a next bout number to the mat show page on the match stats

This commit is contained in:
2025-01-20 11:41:07 -05:00
parent cc62e1c2f1
commit 60814fdd94
4 changed files with 76 additions and 4 deletions

View File

@@ -11,6 +11,9 @@
</div>
<% end %>
<h4>Bout <strong><%= @match.bout_number %></strong></h4>
<% if @show_next_bout_button && @next_match %>
<%= link_to "Skip to Next Match for Mat #{@mat.name}", mat_path(@mat, bout_number: @next_match.bout_number), class: "btn btn-primary" %>
<% end %>
<h4>Bracket Position: <strong><%= @match.bracket_position %></strong></h4>
<table class="table">
<thead>