backend/views/categories/modifyCategory.pug

13 lines
484 B
Plaintext
Raw Normal View History

2023-12-19 09:12:42 +01:00
extends ./categories.pug
block content
form(action=`/categories/modifyCategory/${categoryObj.CategoryID}`,method="POST")
.form-group
.text Name
.input
input(type="text", name="categoryName",value=categoryObj.Name)
.form-group
.text Description
.input
textarea(name="categoryDescription", cols="30", rows="10")=categoryObj.Description
button(type="submit") Modify Category