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
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user