Fix fr/en buttons
Some checks failed
CI / scan_ruby (push) Has been cancelled
CI / scan_js (push) Has been cancelled
CI / lint (push) Has been cancelled
CI / test (push) Has been cancelled

This commit is contained in:
sto
2026-09-10 16:51:20 +02:00
parent 0912a9f408
commit 4e1c2a2bb6

View File

@@ -15,7 +15,7 @@ html
a.navbar-brand href=user_path(@current_user) class="btn btn-light"
= t("nav.settings")
= button_to t("nav.log_out"), session_path, method: :delete, class: "btn btn-danger"
- if active_page("/wjpc_bets")
- if active_page("/wjpc_bets") == "active"
.float-end
a.navbar-brand href="/wjpc_bets/en/main" class="btn btn-light" style="margin-right: 0"
= Flags.get_flag("GB")