Fix fr/en buttons
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user