Organise with layouts
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-15 08:44:08 +01:00
parent 54b25a061e
commit caa45332b0
13 changed files with 61 additions and 47 deletions

View File

@@ -0,0 +1,16 @@
doctype html
html
= render "layouts/header"
body
.container.mt-5
.float-end.ms-3
= button_to "Log out", session_path, method: :delete
.float-end.mt-1.ms-3
= link_to "Settings", user_path(@current_user)
.float-end.mt-1
= link_to "Home", contests_path
h1 = @title
= yield