about summary refs log blame commit diff
path: root/templates/thread.html
blob: 83007d6ac1b800b1943038e79bdb2e746689be0c (plain) (tree)
1
2
3
4
5
6
7
8
9







                                               
                                                                                                
                            
                                                                                            
                 











                                                                                   

         
<!DOCTYPE html>
<html>
  <head>
    <title>Converse: {{ thread.title }}</title>
  </head>
  <body>
    <h1>{{ thread.title }}</h1>

    <p>{{ thread.body }}<br><i>Posted at {{ thread.posted }} by {{ thread.author_name }}</i></p>
    {% for post in posts -%}
    <li>{{ post.body }}<br><i>Posted at {{ post.posted }} by {{ post.author_name }}</i></li>
    {%- endfor %}

    <hr>
    <form action="/thread/reply" method="post">
      <input type="hidden" id="thread_id" name="thread_id" value="{{ thread.id }}">
      <div>
        <label for="body">Content:</label>
        <textarea id="body" name="body"></textarea>
      </div>
      <div>
        <input type="submit" value="Reply">
      </div>
    </form>
  </body>
</html>