blob: bf2749259ceca590af5c6db684bbcb0bd47a903f (
plain)
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
|
<%- include('header', { title: thread.subject }) %>
<style>
input, textarea { width: 100%; max-width: 45em; }
table { width: 100%; max-width: 50em; }
td.body { white-space: pre-wrap; padding: 10px 10px; }
th.author { border-right: none; }
th.time { text-align: right; border-left: none; font-weight: normal; }
</style>
<table>
<tr>
<th class="nowrap author"><%= post.author_name %>
<th class="nowrap time"><%= post.ctime %>
<%= post.edited ? "(edited " + post.mtime + ")" : "" %>
<tr>
<td class="body" colspan="2"><%- post.body %></td>
</table>
<form action="/forum/reply/<%- thread.thread_id %>" method="post">
<p>
Reply:
<br>
<textarea name="body" rows="15" cols="80" maxlength="32000" required autofocus
placeholder="Say something nice."></textarea>
<p>
<button type="submit">Submit</button>
</form>
|