From 4e1c2a2bb6b101073a4e8d1cf22925e11c29155c Mon Sep 17 00:00:00 2001 From: sto Date: Thu, 10 Sep 2026 16:51:20 +0200 Subject: [PATCH] Fix fr/en buttons --- app/views/layouts/authenticated.html.slim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/layouts/authenticated.html.slim b/app/views/layouts/authenticated.html.slim index 17459f2..fd7b80a 100644 --- a/app/views/layouts/authenticated.html.slim +++ b/app/views/layouts/authenticated.html.slim @@ -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")