progetto fatto precedentemente adattato al framework creato con il corso
filippo.bertilotti
2024-06-05 effd6a73291031fd0ab48cc331294b20279f0840
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{% extends "base.mvc.php" %}
 
{% block title %} Delete Product {% endblock %}
 
{% block body %}
 
<h1>Delete Product</h1>
 
<form method="post" action="/products/{{ product["id"] }}>/destroy">
    <p>Delete this product?</p>
    <button>Yes</button>
</form>
 
<p><a href="/products/{{ $product["id"] }}>/show" >Cancel</a></p>
 
{% endblock %}