Merge pull request #82 from ThomasRubini/moving_main_in_article
moved from files home/view, recipe/search, recipe/view
This commit is contained in:
commit
01ae39a025
@ -1,8 +1,9 @@
|
||||
<img src="static/img/bandeau.jpg" alt="Cook">
|
||||
|
||||
<?php View::show("common/category_list") ?>
|
||||
|
||||
<main>
|
||||
<?php View::show("common/category_list") ?>
|
||||
<article>
|
||||
<section>
|
||||
<h1> Nos idées recettes: </h1>
|
||||
<?php
|
||||
@ -11,4 +12,5 @@
|
||||
}
|
||||
?>
|
||||
</section>
|
||||
</article>
|
||||
</main>
|
||||
|
@ -3,9 +3,10 @@
|
||||
$has_query = $A_view["QUERY"] !== null;
|
||||
?>
|
||||
|
||||
<?php View::show("common/category_list") ?>
|
||||
|
||||
<main>
|
||||
<?php View::show("common/category_list") ?>
|
||||
<article>
|
||||
<!-- Inclure les catégories -->
|
||||
<form method="GET" action="/recipe/search">
|
||||
<label for="query">Saisissez les termes à rechercher</label>
|
||||
@ -27,4 +28,5 @@
|
||||
}
|
||||
?>
|
||||
</section>
|
||||
</article>
|
||||
</main>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php View::show("common/category_list") ?>
|
||||
|
||||
<main>
|
||||
|
||||
<?php View::show("common/category_list") ?>
|
||||
<article>
|
||||
<img src="<?= $A_view["IMG_LINK"] ?>" alt="Image d'illustration de la recette">
|
||||
|
||||
<section class="infosRecette">
|
||||
@ -37,5 +37,6 @@
|
||||
<?php
|
||||
View::show("appreciations/view_all", $A_view)
|
||||
?>
|
||||
</article>
|
||||
|
||||
</main>
|
||||
|
Loading…
Reference in New Issue
Block a user