From ca47bf6c6226b4dff5d725f13ab27cd3ee57b57a Mon Sep 17 00:00:00 2001 From: Capelier-Marla Date: Wed, 25 Jan 2023 16:18:05 +0100 Subject: [PATCH] moved category list in main and main content in article --- Views/category/view.php | 35 +++++++++++++++++------------------ 1 file changed, 17 insertions(+), 18 deletions(-) diff --git a/Views/category/view.php b/Views/category/view.php index d9623e5..7ab8720 100644 --- a/Views/category/view.php +++ b/Views/category/view.php @@ -8,23 +8,22 @@ $allCategory = array( "Sans lactose" => "sans_lactose"); ?> - -
- $recipes) { - echo '
-

'.$categoryName.'

-
    '; - foreach ($recipes as $recipe) { - echo '
  • '; - View::show("common/recipe", $recipe); - echo '
  • '; - } - echo '
-
'; - } - ?> + +
+ $recipes) { + echo '
+

'.$categoryName.'

+
    '; + foreach ($recipes as $recipe) { + echo '
  • '; + View::show("common/recipe", $recipe); + echo '
  • '; + } + echo '
+
'; + } + ?> +