Back to the event button
Some checks failed
CI / scan_ruby (push) Has been cancelled
CI / scan_js (push) Has been cancelled
CI / lint (push) Has been cancelled
CI / test (push) Has been cancelled

This commit is contained in:
sto
2026-07-30 16:16:12 +02:00
parent c221563618
commit fe4af6d63c
3 changed files with 5 additions and 0 deletions

View File

@@ -105,6 +105,9 @@ html
- else
a.ms-4.btn.btn-success.disabled style="margin-top: -6px;"
= t("contests.show.public_scoreboard_disabled")
- if @contest.event
a.ms-2.btn.btn-primary href=event_path(@contest.event.id) style="margin-top: -6px;"
= t("contests.show.back_to_event")
- else
= @contest.name
- else