fix few features in the architecture, recipe is now in common
This commit is contained in:
		
							parent
							
								
									a6472ce6e8
								
							
						
					
					
						commit
						26096c3028
					
				| @ -1,5 +1,5 @@ | ||||
| <a href="/recipe/view/1"> | ||||
|     <img scr="<?= $A_view["img"] ?>"> | ||||
| <a href="/recipe/view/<?= $A_view["id"]?>"> | ||||
|     <img src="<?= $A_view["img"] ?>" alt="<?= $A_view["nom"]?>"> | ||||
|     <section> | ||||
|         <h2> <?= $A_view["nom"]?> </h2>
 | ||||
|         <p> <?= $A_view["note"]?> </p>
 | ||||
| @ -25,7 +25,7 @@ $array_recipes = array( | ||||
|     <section> | ||||
|         <?php | ||||
|             foreach ($array_recipes as $recipe){ | ||||
|                 View::show("home/recipe", $recipe); | ||||
|                 View::show("common/recipe", $recipe); | ||||
|             } | ||||
|         ?>
 | ||||
|     </section> | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user