summaryrefslogtreecommitdiff
path: root/views/forum_reply.pug
blob: 5b5a3bb076fbf193f3a872076f7f59982939b64f (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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
//- vim:ts=4:sw=4:
doctype html
html
	head
		include head
		title= thread.subject
		style.
			input, textarea { width: min(45rem,100%) }
			table { max-width: 50em; }
			table .author { border-right: none; }
			table .time { border-left: none; font-weight: normal; }
			table .command { border: none; }
	body
		include header
		article
			h1= thread.subject

			table
				tr
					th.author: a(href="/user/"+post.author_name)= post.author_name
					th.r.time= post.ctime
						if post.edited
							|
							| (edited #{post.mtime})
				tr
					td.body(colspan=2)!= post.body

			form(method="post" action="/forum/reply/"+thread.thread_id)
				p Reply:
					br
					textarea(
						name="body"
						rows=15
						cols=80
						maxlength=32000
						required
					)
				p
					button(type="submit") Submit