2019-11-29 15:08:18 -08:00
|
|
|
{{template "page_header.html" .}}
|
2018-06-09 23:40:20 -07:00
|
|
|
<header>
|
|
|
|
<h1>Edit post</h1><br />
|
|
|
|
<div class="subtitle"><a href="{{.referrer}}">Return</a></div>
|
|
|
|
</header>
|
|
|
|
|
|
|
|
<form action="/util" method="POST" id="edit-form">
|
|
|
|
<input name="postid" type="hidden" value="{{.post.ID}}" />
|
|
|
|
<input name="boardid" type="hidden" value="{{.post.BoardID}}" />
|
|
|
|
<input name="parentid" type="hidden" value="{{.post.ParentID}}" />
|
|
|
|
<input name="password" type="hidden" value="{{.post.Password}}" />
|
|
|
|
<input name="doedit" type="hidden" value="1" />
|
|
|
|
<table id="postbox-static" align="center">
|
|
|
|
<tr><th class="postblock">Name</th><td>{{stringAppend .post.Name "#" .post.Tripcode}}</td></tr>
|
|
|
|
<tr><th class="postblock">Email</th><td>{{.post.Email}}</td></tr>
|
2018-12-01 12:13:33 -08:00
|
|
|
<tr><th class="postblock">Subject</th><td><input type="text" name="editsubject" maxlength="100" size="28" autocomplete="off" value="{{.post.Subject}}"/><input type="submit" value="{{with .op}}Reply{{else}}Post{{end}}"/></td></tr>
|
2018-06-09 23:40:20 -07:00
|
|
|
<tr><th class="postblock">Message</th><td><textarea rows="4" cols="48" name="editmsg" id="editmsg">{{.post.MessageText}}</textarea></td></tr>
|
|
|
|
</table>
|
|
|
|
</form><br />
|
2019-11-29 15:08:18 -08:00
|
|
|
{{template "page_footer.html" .}}
|