tvl-depot/templates/thread.html

26 lines
730 B
HTML

<!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>