PHP Classes

File: views/Products/delete.mvc.php

Recommend this page to a friend!
  Classes of Faris AL-Otabi   PHP MVC Framework   views/Products/delete.mvc.php   Download  
File: views/Products/delete.mvc.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: PHP MVC Framework
Example application using an MVC framework
Author: By
Last change:
Date: 1 month ago
Size: 327 bytes
 

Contents

Class file image Download
{% 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 %}