From ebbcca0ca9512d4c8d2454240cef35fb303ca2ad Mon Sep 17 00:00:00 2001 From: filippo.bertilotti <filippobertilotti@gmail.com> Date: Fri, 24 May 2024 09:59:54 +0200 Subject: [PATCH] visualizzazione a video dei dati del form modificati in caso di errore (parte 136) --- views/Products/new.php | 8 +------- 1 files changed, 1 insertions(+), 7 deletions(-) diff --git a/views/Products/new.php b/views/Products/new.php index 5e34cfa..29fe04d 100644 --- a/views/Products/new.php +++ b/views/Products/new.php @@ -1,13 +1,7 @@ <body> <h1>New product</h1> <form method="post" action="/products/create"> - <label for="name">Name</label> - <input type="text", id="name", name="name"> - - <label for="description">Description</label> - <textarea id="description", name="description"></textarea> - - <button>Save</button> + <?php require "form.php"?> </form> </body> </hmtl> \ No newline at end of file -- Gitblit v1.8.0