.container.mt-5 - if authenticated? .float-end = button_to "Log out", session_path, method: :delete h1 Welcome! .alert.alert-primary role="alert" | This is a brand new website! h4.mt-4 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.mt-4 href=new_contest_path | Create a new contest