Some contest pages translations
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

This commit is contained in:
sto
2025-03-27 14:51:25 +01:00
parent 8b0b1c6745
commit 10fa821f19
6 changed files with 29 additions and 12 deletions

View File

@@ -9,12 +9,12 @@ html
nav.navbar.bg-body-primary
- if @current_user.admin
a.navbar-brand href=users_path
| Users
= t("nav.users")
a.navbar-brand href=contests_path
| Home
= t("nav.home")
a.navbar-brand href=user_path(@current_user)
| Settings
= button_to "Log out", session_path, method: :delete
= t("nav.settings")
= button_to t("nav.log_out"), session_path, method: :delete
h1.mb-4 = @title