puzzle-scoreboard/app/views/contests/scoreboard.html.slim
sto 2982f44acc
Some checks failed
CI / scan_ruby (push) Successful in 14s
CI / scan_js (push) Successful in 12s
CI / lint (push) Successful in 11s
CI / test (push) Failing after 8s
Public scoreboard scaffold
2025-03-23 08:44:38 +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