diff --git a/pages/client/recette.php b/pages/client/recette.php index a297ffb6a5c9b29cb720aca724c41edc6d6aee6a..671a346754193f1399fc40e62b8dba361623d1a4 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>