1
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

View File

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