puzzle-scoreboard/app/views/contests/scoreboard.html.slim
sto e8c3f04577
Some checks failed
CI / scan_ruby (push) Successful in 1m28s
CI / scan_js (push) Successful in 12s
CI / lint (push) Successful in 12s
CI / test (push) Failing after 18s
Public scoreboard scaffold
2025-03-22 18:52:20 +01:00

18 lines
385 B
Plaintext

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