13 lines
484 B
Plaintext
13 lines
484 B
Plaintext
|
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
|