feat: enhance match entry form with validation and data

Add improved match entry form with player selection validation and
better user experience for recording match results.

Changes:
- Add player validation to prevent same player on both teams
- Add team score validation (must have winner)
- Improve form layout and player selection UI
- Add helper methods for player lookup and team building
This commit is contained in:
2026-03-27 12:24:53 -07:00
parent 119905685f
commit 5bb3bc4e5f
4 changed files with 172 additions and 62 deletions
+4
View File
@@ -6,6 +6,10 @@ module EuchreCamp
module Matches
class New < EuchreCamp::View
expose :players
expose :tournament
expose :teams
expose :preselected_team_1
expose :preselected_team_2
end
end
end