about summary refs log tree commit diff
path: root/templates/index.html
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@gmail.com>2018-04-14T20·06+0200
committerVincent Ambo <github@tazj.in>2018-04-14T20·21+0200
commit4132869277656437f1f62869a2b1676d4c1c42d7 (patch)
tree6ee6a8302e4712bc8aca47e8c021063ad338b0bf /templates/index.html
parentdae97fdaf5a9541895d9719f1f58902cca846e2b (diff)
feat: Implement search result view & enable search
Implements a very simple and currently kinda broken-looking search
result view.
Diffstat (limited to 'templates/index.html')
-rw-r--r--templates/index.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/index.html b/templates/index.html
index 35cfeba05023..263c8828a038 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -14,9 +14,9 @@
         <a class="navbar-brand" href="/">
           <h2>Converse</h2>
         </a>
-        <form class="form-inline">
-          <input class="form-control mr-sm-2" type="search" placeholder="Search" aria-label="Search" disabled>
-          <button class="btn btn-outline-success my-2 my-sm-0 mr-1" type="submit" disabled>Search</button>
+        <form class="form-inline" method="post" action="/search">
+          <input class="form-control mr-sm-2" type="search" placeholder="Search" name="query" aria-label="Search">
+          <button class="btn btn-outline-success my-2 my-sm-0 mr-1" type="submit">Search</button>
           <a class="btn btn-outline-secondary my-2" href="/thread/new">New thread</a>
         </form>
       </nav>