Implement shared scoreboard UI
This commit is contained in:
7
app/views/application/_event_nav.html.slim
Normal file
7
app/views/application/_event_nav.html.slim
Normal file
@@ -0,0 +1,7 @@
|
||||
.mt-2.row style="font-size: 16px;"
|
||||
.col
|
||||
ul.nav.nav-tabs.mb-4
|
||||
- @contest.event.contests.where(public: true).each do |contest|
|
||||
li.nav-item
|
||||
a.nav-link class="#{contest == @contest ? "active" : ""}" href="/public/event/#{@contest.event.slug}?contest_id=#{contest.id}"
|
||||
= contest.name
|
||||
Reference in New Issue
Block a user