views/Products/new.php
@@ -4,6 +4,10 @@ <label for="name">Name</label> <input type="text", id="name", name="name"> <?php if (isset($errors["name"])): ?> <p><?= $errors["name"] ?></p> <?php endif; ?> <label for="description">Description</label> <textarea id="description", name="description"></textarea>