diff --git a/app/views/contests/index.html.slim b/app/views/contests/index.html.slim index ce95c01..d0664b4 100644 --- a/app/views/contests/index.html.slim +++ b/app/views/contests/index.html.slim @@ -1,12 +1,16 @@ -h4.mt-4 Manage your contests +h4.mb-3 Manage your contests -- @contests.each do |contest| - .card.mb-2 - .card-body - .card-title - = contest.name - a.btn.btn-primary href=contest_path(contest) - | Open +a.btn.btn-primary.mb-4 href=new_contest_path + | Create a new contest -a.btn.btn-primary.mt-4 href=new_contest_path - | Create a new contest \ No newline at end of file +.row.row-cols-1.row-cols-md-3.g-4 + - @contests.each do |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 \ No newline at end of file