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)
|
||||
section
|
||||
h2 Manage categories
|
||||
form(id='manage-categories')
|
||||
select(name='category' required='')
|
||||
each category in categories
|
||||
option(value=category.ID) #{category.Name}
|
||||
option(value='0') -- New category --
|
||||
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
|
||||
form(id='manage-categories')
|
||||
select(name='category' required='')
|
||||
each category in categories
|
||||
option(value=category.ID) #{category.Name}
|
||||
option(value='0') -- New category --
|
||||
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