1
0

Added a header for a form on mindflow admin page.

This commit is contained in:
Alexander Andreev 2023-05-22 21:40:12 +04:00
parent ab3174f543
commit ecf9da5b3d
Signed by: Arav
GPG Key ID: D22A817D95815393

View File

@ -18,8 +18,8 @@ block nav
block content 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 Create a new post
form(id='add' action='/api/mindflow', method='POST') form(id='add' action='/api/mindflow', method='POST')
select(name='category' required='') select(name='category' required='')
each category in categories each category in categories