2018-04-08 18:02:01 +02:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<title>Converse: {{ thread.title }}</title>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<h1>{{ thread.title }}</h1>
|
|
|
|
|
2018-04-08 22:38:06 +02:00
|
|
|
<p>{{ thread.body }}<br><i>Posted at {{ thread.posted }} by {{ thread.author_name }}</i></p>
|
2018-04-08 18:02:01 +02:00
|
|
|
{% for post in posts -%}
|
2018-04-08 22:38:06 +02:00
|
|
|
<li>{{ post.body }}<br><i>Posted at {{ post.posted }} by {{ post.author_name }}</i></li>
|
2018-04-08 18:02:01 +02:00
|
|
|
{%- endfor %}
|
2018-04-08 20:20:17 +02:00
|
|
|
|
|
|
|
<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>
|
2018-04-08 18:02:01 +02:00
|
|
|
</body>
|
|
|
|
</html>
|