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

Added a turbo stream for the current and next match on mat stats page.

This commit is contained in:
2026-01-09 18:37:01 -05:00
parent 8c2ddf55ed
commit 3576445a1c
6 changed files with 175 additions and 7 deletions

View File

@@ -33,4 +33,7 @@
</tr>
<% end %>
</tbody>
</table>
</table>
<br>
<p>Total matches without byes: <%= @matches.select{|m| m.loser1_name != 'BYE' and m.loser2_name != 'BYE'}.size %></p>
<p>Unfinished matches: <%= @matches.select{|m| m.finished != 1 and m.loser1_name != 'BYE' and m.loser2_name != 'BYE'}.size %></p>