Some improvements
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 16:14:48 +01:00
parent a03907f756
commit ea7cdcf608
6 changed files with 51 additions and 13 deletions

View File

@@ -29,15 +29,22 @@
tr
th scope="col"
| Time since start
th scope="col"
| Relative time
th scope="col"
| Puzzle
tbody
- @completions.each do |completion|
tr scope="row"
td
= link_to completion.time_seconds, edit_contest_completion_path(@contest, completion, contestant.id)
= completion.display_time_from_start
td
= completion.puzzle.name
= completion.display_relative_time
td
| #{completion.puzzle.name} - #{completion.puzzle.brand}
td
a.btn.btn-sm.btn-secondary href=edit_contest_completion_path(@contest, completion, contestant.id)
| Edit
.row
.col
a.btn.btn-primary href=new_contest_completion_path(@contest, contestant_id: contestant.id)