Changed manage-categories form renamed new category into category name. Added Add button.
This commit is contained in:
parent
e573870503
commit
1330cbd614
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user