From 4c7fd05ad6f211aed64a4b3dfb3ea6dff5e2d9bc Mon Sep 17 00:00:00 2001 From: abutler911 Date: Sat, 28 Oct 2023 15:44:27 -0600 Subject: [PATCH] changed setup page --- views/affirmation-setup.pug | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/views/affirmation-setup.pug b/views/affirmation-setup.pug index c5ef74a..80c17cb 100644 --- a/views/affirmation-setup.pug +++ b/views/affirmation-setup.pug @@ -13,16 +13,18 @@ block content // Check if affirmations exist if user.affirmations - each category, categoryName in categoriesWithSpaces - .card.mb-4 - .card-header - h3= categoryName - .card-body - ul.affirmation-list.list-group - each affirmation, point in category - li.list-group-item #{point}: #{affirmation} - .card-footer - a.btn.btn-primary(href="/edit-affirmations/#{categoryName}") Edit + div.row + each category, categoryName in categoriesWithSpaces + div.col-md-4 + .card.mb-4 + .card-header + h3= categoryName + .card-body + ul.affirmation-list.list-group + each affirmation, point in category + li.list-group-item #{point}: #{affirmation} + .card-footer + a.btn.btn-primary(href="/edit-affirmations/#{categoryName}") Edit // Button to enter new affirmations a.btn.btn-primary(href="/enter-affirmations") Enter New Affirmations else