Fix login error
Some checks are pending
CI / scan_ruby (push) Waiting to run
CI / scan_js (push) Waiting to run
CI / lint (push) Waiting to run
CI / test (push) Waiting to run

This commit is contained in:
sto 2025-03-20 08:42:12 +01:00
parent 6f07ec802f
commit 4d32f9e7f0

View File

@ -4,13 +4,14 @@ html
body
.container.mt-5
.float-end style="margin-top: -8px;"
nav.navbar.bg-body-primary
a.navbar-brand href=contests_path
| Home
a.navbar-brand href=user_path(@current_user)
| Settings
= button_to "Log out", session_path, method: :delete
- if @current_user
.float-end style="margin-top: -8px;"
nav.navbar.bg-body-primary
a.navbar-brand href=contests_path
| Home
a.navbar-brand href=user_path(@current_user)
| Settings
= button_to "Log out", session_path, method: :delete
h1.mb-4 = @title