blob: 83007d6ac1b800b1943038e79bdb2e746689be0c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
<!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>
|