Oops, fucked up nesting. Fixed.
This commit is contained in:
parent
1330cbd614
commit
05a2686c3a
@ -20,15 +20,15 @@ block content
|
|||||||
:go:func MindflowAdmin(title string, posts []mindflow.Post, categories []mindflow.Category, r *http.Request)
|
:go:func MindflowAdmin(title string, posts []mindflow.Post, categories []mindflow.Category, r *http.Request)
|
||||||
section
|
section
|
||||||
h2 Manage categories
|
h2 Manage categories
|
||||||
form(id='manage-categories')
|
form(id='manage-categories')
|
||||||
select(name='category' required='')
|
select(name='category' required='')
|
||||||
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='Category name' name='name')
|
input(type='text', placeholder='Category name' name='name')
|
||||||
button(type="submit" name="add") Add
|
button(type="submit" name="add") Add
|
||||||
button(type="submit" name="edit") Edit
|
button(type="submit" name="edit") Edit
|
||||||
button(type="submit" name="delete") Delete
|
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