about summary refs log tree commit diff
path: root/templates/thread.html
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@gmail.com>2018-04-11T23·07+0200
committerVincent Ambo <tazjin@gmail.com>2018-04-11T23·07+0200
commite7a54a5affd40f92f788f46ab64033d14860959a (patch)
tree34b89cbad6e6f71aedad65edcdd47c137eb79dc7 /templates/thread.html
parentf46f6f3c4296a16e3040398df2774756dec29e93 (diff)
feat(handler): Perform basic input validation on new thread view
Diffstat (limited to 'templates/thread.html')
-rw-r--r--templates/thread.html6
1 files changed, 2 insertions, 4 deletions
diff --git a/templates/thread.html b/templates/thread.html
index 1b484637331c..4909365a8005 100644
--- a/templates/thread.html
+++ b/templates/thread.html
@@ -13,9 +13,7 @@
         <a class="navbar-brand" href="/">
           <h2>Converse</h2>
         </a>
-        <form class="form-inline">
-          <a class="btn btn-outline-secondary my-2" href="/">Back to index</a>
-        </form>
+        <a class="btn btn-outline-secondary my-2" href="/">Back to index</a>
       </nav>
     </header>
 
@@ -59,7 +57,7 @@
             <div class="list-group-item flex-column align-items-start">
               <div class="row">
                 <div class="col-12">
-                  <form action="/thread/reply" method="post">
+                  <form id="reply-form" action="/thread/reply" method="post">
                     <input type="hidden" id="thread_id" name="thread_id" value="{{ id }}">
                     <label for="body">You can use <strong>Markdown</strong>!</label>
                     <div class="input-group">