Compare commits
No commits in common. "1dbb495c3b4e67839d30eef7dac7ecce7434ef76" and "64109cdfd3abeb7917ebcc7dcd800ef257b4cd59" have entirely different histories.
1dbb495c3b
...
64109cdfd3
@ -1,16 +1,12 @@
|
|||||||
h4.mb-3 Manage your contests
|
h4.mt-4 Manage your contests
|
||||||
|
|
||||||
a.btn.btn-primary.mb-4 href=new_contest_path
|
- @contests.each do |contest|
|
||||||
| Create a new contest
|
.card.mb-2
|
||||||
|
.card-body
|
||||||
|
.card-title
|
||||||
|
= contest.name
|
||||||
|
a.btn.btn-primary href=contest_path(contest)
|
||||||
|
| Open
|
||||||
|
|
||||||
.row.row-cols-1.row-cols-md-3.g-4
|
a.btn.btn-primary.mt-4 href=new_contest_path
|
||||||
- @contests.each do |contest|
|
| Create a new contest
|
||||||
.col
|
|
||||||
.card.h-100
|
|
||||||
.card-header
|
|
||||||
= contest.name
|
|
||||||
.card-body
|
|
||||||
p.card-text
|
|
||||||
| Description text comes here.
|
|
||||||
a.btn.btn-primary href=contest_path(contest)
|
|
||||||
| Open
|
|
@ -4,13 +4,12 @@ html
|
|||||||
|
|
||||||
body
|
body
|
||||||
.container.mt-5
|
.container.mt-5
|
||||||
.float-end style="margin-top: -8px;"
|
.float-end.mt-1.ms-3
|
||||||
nav.navbar.bg-body-primary
|
= button_to "Log out", session_path, method: :delete
|
||||||
a.navbar-brand href=contests_path
|
.float-end.mt-2.ms-3
|
||||||
| Home
|
= link_to "Settings", user_path(@current_user)
|
||||||
a.navbar-brand href=user_path(@current_user)
|
.float-end.mt-2
|
||||||
| Settings
|
= link_to "Home", contests_path
|
||||||
= button_to "Log out", session_path, method: :delete
|
|
||||||
|
|
||||||
h1.mb-4 = @title
|
h1.mb-4 = @title
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user