Add contestants
Some checks are pending
CI / scan_ruby (push) Waiting to run
CI / scan_js (push) Waiting to run
CI / lint (push) Waiting to run
CI / test (push) Waiting to run

This commit is contained in:
sto
2025-03-20 09:19:39 +01:00
parent 658c50fd04
commit 44507bb85c
18 changed files with 145 additions and 25 deletions

View File

@@ -34,4 +34,21 @@
a.btn.btn-primary href=new_contest_puzzle_path(@contest)
| Add puzzle
.col-sm-6
h4 Teams
.row
.col
h4
| Contestants
.row.row-cols-1.row-cols-md-3.g-4.mb-4
- @contestants.each do |contestant|
.col
css:
.card:hover { background-color: lightblue; }
.card.h-100
.card-header
= contestant.name
.card-body
a.stretched-link href=edit_contest_contestant_path(@contest, contestant)
.row
.col
a.btn.btn-primary href=new_contest_contestant_path(@contest)
| Add contestant