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">
|
<a href="/recipe/view/<?= $A_view["id"]?>">
|
||||||
<img scr="<?= $A_view["img"] ?>">
|
<img src="<?= $A_view["img"] ?>" alt="<?= $A_view["nom"]?>">
|
||||||
<section>
|
<section>
|
||||||
<h2> <?= $A_view["nom"]?> </h2>
|
<h2> <?= $A_view["nom"]?> </h2>
|
||||||
<p> <?= $A_view["note"]?> </p>
|
<p> <?= $A_view["note"]?> </p>
|
@ -25,7 +25,7 @@ $array_recipes = array(
|
|||||||
<section>
|
<section>
|
||||||
<?php
|
<?php
|
||||||
foreach ($array_recipes as $recipe){
|
foreach ($array_recipes as $recipe){
|
||||||
View::show("home/recipe", $recipe);
|
View::show("common/recipe", $recipe);
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</section>
|
</section>
|
||||||
|
Loading…
Reference in New Issue
Block a user