Add admin action to checkout contests
Some checks failed
CI / scan_ruby (push) Failing after 19s
CI / scan_js (push) Successful in 14s
CI / lint (push) Successful in 15s
CI / test (push) Failing after 39s

This commit is contained in:
sto
2025-11-26 10:44:30 +01:00
parent 7a80c434af
commit 66d968fca8
4 changed files with 7 additions and 2 deletions

View File

@@ -61,4 +61,4 @@
= contestant.completions.size > 0 && contestant.completions[-1].remaining_pieces ? "#{contestant.completions.map{|completion| completion.puzzle.pieces}.sum - contestant.completions[-1].remaining_pieces}p" : contestant.display_time
td
a.btn.btn-sm.btn-secondary href=edit_contest_contestant_path(@contest, contestant)
= t("helpers.buttons.open")
= t("helpers.buttons.details")