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 %}
|
|