fixed view, display time, diffuculty and author + edited first image
This commit is contained in:
parent
f77fcb7695
commit
681ec995d1
@ -5,6 +5,7 @@
|
||||
<section class="infosRecette">
|
||||
<header>
|
||||
<h1><?= $A_view["NAME"] ?></h1>
|
||||
<p><?= $A_view["TIME"] ?> — <?= $A_view["DIFFICULTY_NAME"] ?></p>
|
||||
</header>
|
||||
<p><?= $A_view["DESC"] ?></p>
|
||||
</section>
|
||||
@ -14,7 +15,7 @@
|
||||
<ul>
|
||||
<?php
|
||||
foreach($A_view["INGREDIENTS"] as $ingredient)
|
||||
echo "<li> ${ingredient["NAME"]}: ${ingredient["QUANTITY"]} </li>";
|
||||
echo "<li> {$ingredient["NAME"]}: {$ingredient["QUANTITY"]} </li>";
|
||||
?>
|
||||
</ul>
|
||||
</section>
|
||||
@ -29,4 +30,6 @@
|
||||
</ol>
|
||||
</section>
|
||||
|
||||
<p>By <?= $A_view["AUTHOR_USERNAME"] ?></p>
|
||||
|
||||
</main>
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 298 KiB After Width: | Height: | Size: 35 KiB |
BIN
static/img/recettes/2.jpg
Normal file
BIN
static/img/recettes/2.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 298 KiB |
Loading…
Reference in New Issue
Block a user