summaryrefslogtreecommitdiff
path: root/views/forum_view.pug
diff options
context:
space:
mode:
Diffstat (limited to 'views/forum_view.pug')
-rw-r--r--views/forum_view.pug7
1 files changed, 6 insertions, 1 deletions
diff --git a/views/forum_view.pug b/views/forum_view.pug
index 46c1b1e..33be0ad 100644
--- a/views/forum_view.pug
+++ b/views/forum_view.pug
@@ -43,4 +43,9 @@ html
| #[a(href="/forum/page/"+(current_page+1)) →]
if user
- p: a(href="/forum/post") New thread
+ p
+ form(method="get" action="/forum/search")
+ input(type="text" name="q" size=40 maxlength=80 placeholder="Search..." required)
+ if user
+ p
+ a(href="/forum/post") New thread