Set container in layout
This commit is contained in:
parent
75b79ba53b
commit
1281df11ff
@ -1,4 +1,3 @@
|
||||
.container.mt-5
|
||||
- if authenticated?
|
||||
.float-end.ms-3
|
||||
= button_to "Log out", session_path, method: :delete
|
||||
|
@ -1,4 +1,3 @@
|
||||
.container.mt-5
|
||||
h1 Contest: "#{@contest.name}"
|
||||
|
||||
a.btn.btn-primary href=root_path
|
||||
|
@ -18,4 +18,5 @@ html
|
||||
= javascript_importmap_tags
|
||||
|
||||
body
|
||||
.container.mt-5
|
||||
= yield
|
||||
|
@ -1,4 +1,3 @@
|
||||
.container
|
||||
h1 Edit settings
|
||||
|
||||
= render "form", user: @user
|
@ -1 +0,0 @@
|
||||
.container
|
@ -1,4 +1,3 @@
|
||||
.container
|
||||
h1 Create a new user
|
||||
|
||||
= render "form", user: @user
|
@ -1,4 +1,3 @@
|
||||
.container
|
||||
h1 = @user.username
|
||||
|
||||
p
|
||||
|
Loading…
x
Reference in New Issue
Block a user