Back to all events button
This commit is contained in:
@@ -1,21 +1,23 @@
|
||||
.row
|
||||
.col
|
||||
h4.mb-3 style="margin-top: -1rem;"
|
||||
h4.mb-3
|
||||
= t("events.show.manage_contests")
|
||||
a.ms-3.mt-3.btn.btn-primary.mb-4 href=edit_event_path(@event)
|
||||
a.ms-3.btn.btn-primary href=edit_event_path(@event)
|
||||
= t("events.show.modify")
|
||||
a.ms-2.btn.btn-primary href="/events"
|
||||
= t("events.show.back_to_events")
|
||||
.float-end
|
||||
a.mt-3.btn.btn-primary.mb-4 href=new_contest_path(event: @event.id)
|
||||
a.btn.btn-primary href=new_contest_path(event: @event.id)
|
||||
= t("events.show.new_contest")
|
||||
|
||||
- if @event.shared_scoreboard
|
||||
a.btn.btn-success href="/public/event/#{@event.slug}" style="margin-top: -6px;"
|
||||
a.btn.btn-success href="/public/event/#{@event.slug}"
|
||||
= t("events.show.open_shared_scoreboard")
|
||||
- else
|
||||
a.btn.btn-success.disabled style="margin-top: -6px;"
|
||||
a.btn.btn-success.disabled
|
||||
= t("events.show.shared_scoreboard_disabled")
|
||||
|
||||
.mt-3.row.row-cols-1.row-cols-md-3.g-4
|
||||
.mt-2.row.row-cols-1.row-cols-md-3.g-4
|
||||
- @contests.each do |contest|
|
||||
.col
|
||||
css:
|
||||
|
||||
Reference in New Issue
Block a user