puzzle-scoreboard/app/views/layouts/authenticated.html.slim
sto 7444a09046
All checks were successful
CI / scan_ruby (push) Successful in 16s
CI / scan_js (push) Successful in 11s
CI / lint (push) Successful in 11s
CI / test (push) Successful in 28s
Translations for the contest dashboard page
2025-05-18 09:52:58 +02:00

25 lines
714 B
Plaintext

doctype html
html
= render "layouts/header"
body
.container.mt-5
- if @current_user
.float-end style="margin-top: -8px;"
nav.navbar.bg-body-primary
- if @current_user.admin
a.navbar-brand href=users_path
= t("nav.users")
a.navbar-brand href=contests_path
= t("nav.home")
a.navbar-brand href=user_path(@current_user)
= t("nav.settings")
= button_to t("nav.log_out"), session_path, method: :delete
h1.mb-4
= @title
- if @action_path
a.ms-4.btn.btn-primary href=@action_path style="margin-top: -4px"
= @action_name
= yield