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









                                                                    
                                                                  
                 











                                                                                   

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

    <p>{{ thread.body }}<br><i>Posted at {{ thread.posted }}</i></p>
    {% for post in posts -%}
    <li>{{ post.body }}<br><i>Posted at {{ post.posted }}</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>