aboutsummaryrefslogtreecommitdiff
path: root/views/admin.html
diff options
context:
space:
mode:
authorFChannel <>2022-06-04 23:31:12 -0700
committerFChannel <>2022-06-19 12:53:29 -0700
commita87235f8b978126c0ca9f9eb252f58e6de17622c (patch)
tree592002dda3ac9f4ca1514eb0f473d31fb62faa84 /views/admin.html
parente3c83c1ddaea5f42b6fda66d4b86459fd1349b3b (diff)
news CRUD working
Diffstat (limited to 'views/admin.html')
-rw-r--r--views/admin.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/admin.html b/views/admin.html
index 191444b..8c784b5 100644
--- a/views/admin.html
+++ b/views/admin.html
@@ -47,7 +47,7 @@
<div class="box2" style="margin-bottom: 25px; padding: 12px;">
<h3>Create News</h3>
- <form id="news" action="/{{ .page.Key }}/postnews" method="post" enctype="application/x-www-form-urlencoded">
+ <form id="news" action="/{{ .page.Key }}/newspost" method="post" enctype="application/x-www-form-urlencoded">
<label>Title:</label><br>
<input type="text" name="title" placeholder="New Board" required><input type="submit" value="Post"><br>
<label>Content:</label><br>