Events: implement creation of new contests
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-28 13:13:46 +02:00
parent 75784fec65
commit d52a058328
5 changed files with 25 additions and 5 deletions

View File

@@ -1,10 +1,10 @@
.row
.col
h4.mb-3
= t("contests.index.manage_contests")
= t("events.index.manage_contests")
.float-end
a.btn.btn-primary.mb-4 href=new_contest_path
= t("contests.index.new_contest")
a.btn.btn-primary.mb-4 href=new_contest_path(event: @event.id)
= t("events.index.new_contest")
.row.row-cols-1.row-cols-md-3.g-4
- @contests.each do |contest|