From 19d49abca77ff89917b380902c8ff3f8e42018f3 Mon Sep 17 00:00:00 2001 From: jcwimer Date: Tue, 12 Jan 2016 18:29:19 +0000 Subject: [PATCH] Added deducted points to views --- app/views/schools/show.html.erb | 4 ++++ app/views/wrestlers/show.html.erb | 11 +++++++++-- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/app/views/schools/show.html.erb b/app/views/schools/show.html.erb index bb7cc11..e2e4ff8 100644 --- a/app/views/schools/show.html.erb +++ b/app/views/schools/show.html.erb @@ -12,6 +12,10 @@ <%= @school.name %>

+

+ Team Points Deducted: + <%= @school.totalDeductedPoints %> +

Score: <%= @school.score %> diff --git a/app/views/wrestlers/show.html.erb b/app/views/wrestlers/show.html.erb index d59b429..24794ba 100644 --- a/app/views/wrestlers/show.html.erb +++ b/app/views/wrestlers/show.html.erb @@ -22,9 +22,16 @@ Weight: <%= @wrestler.weight.max %>

-

- Team Points Scored: + Team Points Earned: + <%= @wrestler.teamPointsEarned %> +

+

+ Team Points Deducted: + <%= @wrestler.totalDeductedPoints %> +

+

+ Total Team Points Scored: <%= @wrestler.totalTeamPoints %>