From df46dfb966ae19bf63a364d99824bfd782ab34c6 Mon Sep 17 00:00:00 2001 From: SofianeLasri <alasri250@gmail.com> Date: Sat, 15 Jan 2022 13:20:54 +0100 Subject: [PATCH] better now? --- pages/client/recette.php | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/pages/client/recette.php b/pages/client/recette.php index a297ffb6..671a3467 100644 --- a/pages/client/recette.php +++ b/pages/client/recette.php @@ -85,17 +85,17 @@ if(isset($_GET['recetteId']) && !empty($_GET['recetteId'])){ <div class="col-12 col-lg-4"> <div class="ingredients"> <h4>Ingredients</h4> - <?php - $ingredient=Recette::getIngredients($recetteId); - $i=0 ; - foreach($ingredient as $valeur){ - $i++; - echo "<div class='custom-control custom-checkbox'>"; - echo "<input type='checkbox' class='custom-control-input' id='customCheck".$i."'>"; + <?php + $ingredient=Recette::getIngredients($recetteId); + $i=0 ; + foreach($ingredient as $valeur){ + $i++; + echo "<div class='custom-control custom-checkbox'>"; + echo "<input type='checkbox' class='custom-control-input' id='customCheck".$i."'>"; echo" <label class='custom-control-label' >".$valeur["nom"]."</label>"; - echo"</div>"; - } - ?> + echo"</div>"; + } + ?> </div> </div> </div> -- GitLab