Worlds: language switch
This commit is contained in:
@@ -15,6 +15,12 @@ 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")
|
||||
.float-end
|
||||
a.navbar-brand href="/wjpc_bets/en/main" class="btn btn-light" style="margin-right: 0"
|
||||
= Flags.get_flag("GB")
|
||||
a.navbar-brand href="/wjpc_bets/fr/main" class="btn btn-light" style="margin-right: 0"
|
||||
= Flags.get_flag("FR")
|
||||
|
||||
css:
|
||||
.toast {
|
||||
|
||||
Reference in New Issue
Block a user