diff --git a/src/app/pages/components/journal_card.view.php b/src/app/pages/components/journal_card.view.php new file mode 100644 index 0000000..59ad0fc --- /dev/null +++ b/src/app/pages/components/journal_card.view.php @@ -0,0 +1,40 @@ + '; ?> +
+
+ +
+

text); ?>

+
+ +
+
diff --git a/src/app/pages/components/journal_items.view.php b/src/app/pages/components/journal_items.view.php index 92ad231..c12b5f2 100644 --- a/src/app/pages/components/journal_items.view.php +++ b/src/app/pages/components/journal_items.view.php @@ -9,8 +9,9 @@ if (count($requests) == 0) { ]); } else { ?>
- items - |> List.map (journalCard now tz) + hx-swap="outerHTML" aria-label="Prayer Requests">template->render('components/journal_card', [ 'request' => $request ]); + } ?>
Loading your prayer journal…

- + +