feat: complete day 13

This commit is contained in:
Ayobami
2025-07-17 21:55:47 +01:00
parent 9c84737fed
commit 7d9350c3df
10 changed files with 271 additions and 40 deletions
+15
View File
@@ -0,0 +1,15 @@
extends layout
block content
.container.mt-5
.row
.col-md-6
if product.image
img.img-fluid(src=product.image, alt=product.title style="width:100px;height:100px;object-fit:contain;")
.col-md-6
h2= product.title
p= product.description
h4.text-success $#{product.price}
form(action=`/buy/${product.id}` method="POST")
button.btn.btn-success(type="submit") Buy Now
a.btn.btn-secondary.mt-3(href="/") Back to Products