From f6ef47159191f61f53250aa476a7006f1755d2a2 Mon Sep 17 00:00:00 2001 From: Jacob Cody Wimer Date: Fri, 6 Dec 2024 07:27:58 -0500 Subject: [PATCH] Updated stats for new scoring --- app/views/matches/_matchstats.html.erb | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/app/views/matches/_matchstats.html.erb b/app/views/matches/_matchstats.html.erb index 11b4459..d27d957 100644 --- a/app/views/matches/_matchstats.html.erb +++ b/app/views/matches/_matchstats.html.erb @@ -35,20 +35,22 @@ <%= @wrestler2_name %> Stats:
<%= f.text_area :w2_stat, cols: "30", rows: "10" %> - <%= @wrestler1_name %> Scoring
+ <%= @wrestler1_name %> Scoring
+ - <%= @wrestler2_name %> Scoring
+ <%= @wrestler2_name %> Scoring
+ @@ -150,7 +152,7 @@ } function takedown(wrestler){ - updateStats(wrestler,"T2") + updateStats(wrestler,"T3") } function updateStats(wrestler,text){ @@ -208,6 +210,7 @@ redColor("w1-reversal"); redColor("w1-penalty"); redColor("w1-penalty2"); + redColor("w1-nf5"); redColor("w1-nf4"); redColor("w1-nf3"); redColor("w1-nf2"); @@ -225,6 +228,7 @@ greenColor("w1-reversal"); greenColor("w1-penalty"); greenColor("w1-penalty2"); + greenColor("w1-nf5"); greenColor("w1-nf4"); greenColor("w1-nf3"); greenColor("w1-nf2"); @@ -242,6 +246,7 @@ redColor("w2-reversal"); redColor("w2-penalty"); redColor("w2-penalty2"); + redColor("w2-nf5"); redColor("w2-nf4"); redColor("w2-nf3"); redColor("w2-nf2"); @@ -259,6 +264,7 @@ greenColor("w2-reversal"); greenColor("w2-penalty"); greenColor("w2-penalty2"); + greenColor("w2-nf5"); greenColor("w2-nf4"); greenColor("w2-nf3"); greenColor("w2-nf2");