Navbar test
This commit is contained in:
parent
e756dbcad9
commit
1dbb495c3b
@ -4,12 +4,13 @@ html
|
|||||||
|
|
||||||
body
|
body
|
||||||
.container.mt-5
|
.container.mt-5
|
||||||
.float-end.mt-1.ms-3
|
.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
|
= button_to "Log out", session_path, method: :delete
|
||||||
.float-end.mt-2.ms-3
|
|
||||||
= link_to "Settings", user_path(@current_user)
|
|
||||||
.float-end.mt-2
|
|
||||||
= link_to "Home", contests_path
|
|
||||||
|
|
||||||
h1.mb-4 = @title
|
h1.mb-4 = @title
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user