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

Added a dynamic score form on the stats page, added stats page form validation on the in js to compliment the validation already in place on the model, and added the wrestler's score in the winner dropdown of the form.

This commit is contained in:
2025-01-19 20:35:33 -05:00
parent c45ec8ab38
commit 288cb6704e
4 changed files with 543 additions and 163 deletions

View File

@@ -295,4 +295,8 @@ class Wrestler < ApplicationRecord
def short_bracket_name
return "#{self.name} (#{self.school.abbreviation})"
end
def name_with_school
return "#{self.name} - #{self.school.name}"
end
end