PHP Classes

File: views/Products/edit.mvc.php

Recommend this page to a friend!
  Classes of Faris AL-Otabi   PHP MVC Framework   views/Products/edit.mvc.php   Download  
File: views/Products/edit.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: 310 bytes
 

Contents

Class file image Download
{% extends "base.mvc.php" %}

{% block title %}Edit Product{% endblock %}

{% block body %}

<h1>Edit Product</h1>

<form method="post" action="/products/{{ product["id"] }}/update">

{% include "Products/form.mvc.php" %}

</form>

<p><a href="/products/{{ product["id"] }}/show">Cancel</a></p>

{% endblock %}