1
0
Fork 0

Changed manage-categories form renamed new category into category name. Added Add button.

This commit is contained in:
Alexander Andreev 2023-05-23 00:07:13 +04:00
parent e573870503
commit 1330cbd614
Signed by: Arav
GPG Key ID: D22A817D95815393
1 changed files with 4 additions and 3 deletions

View File

@ -25,9 +25,10 @@ block content
each category in categories
option(value=category.ID) #{category.Name}
option(value='0') -- New category --
input(type='text', placeholder='New category name' name='new-category')
button(type="edit") Edit
button(type="delete") Delete
input(type='text', placeholder='Category name' name='name')
button(type="submit" name="add") Add
button(type="submit" name="edit") Edit
button(type="submit" name="delete") Delete
section
h2 Create a new post