puzzle-scoreboard/app/views/layouts/authenticated.html.slim
sto 10fa821f19
All checks were successful
CI / scan_ruby (push) Successful in 17s
CI / scan_js (push) Successful in 12s
CI / lint (push) Successful in 12s
CI / test (push) Successful in 38s
Some contest pages translations
2025-03-27 14:51:25 +01:00

21 lines
577 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
= yield