Public scoreboard scaffold

This commit is contained in:
sto
2025-03-23 08:44:38 +01:00
parent 9a2a3a6f33
commit 2982f44acc
7 changed files with 45 additions and 2 deletions

View File

@@ -0,0 +1,18 @@
table.table.table-striped.table-hover
thead
tr
th scope="col"
| Rank
th scope="col"
| Name
th scope="col"
| Completed puzzles
tbody
- @contestants.each_with_index do |contestant, index|
tr scope="row"
td
= index + 1
td
= contestant.name
td
= contestant.completions.length