From 05a2686c3ad080a46b25236eb7311d8a4fba0ee8 Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Tue, 23 May 2023 00:08:15 +0400 Subject: [PATCH] Oops, fucked up nesting. Fixed. --- web/templates/mindflow_admin.pug | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/web/templates/mindflow_admin.pug b/web/templates/mindflow_admin.pug index 2704d5d..7cd5bbf 100755 --- a/web/templates/mindflow_admin.pug +++ b/web/templates/mindflow_admin.pug @@ -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