Add public scoreboard slug & URL
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
.row.mb-2
|
||||
.row.mb-4
|
||||
.col
|
||||
css:
|
||||
.badges { margin-top: -18px; position: absolute; }
|
||||
@@ -6,10 +6,16 @@
|
||||
- @badges.each do |badge|
|
||||
span.badge.text-bg-info.me-2
|
||||
= badge
|
||||
|
||||
.row.mb-4
|
||||
.col
|
||||
.float-end
|
||||
a.btn.btn-primary href=edit_contest_path(@contest)
|
||||
| Edit contest
|
||||
|
||||
p
|
||||
|> Public scoreboard:
|
||||
= link_to root_url + "public/#{@contest.slug}"
|
||||
|
||||
.row.mb-4
|
||||
.col-6
|
||||
.row
|
||||
|
||||
Reference in New Issue
Block a user