mirror of
https://github.com/Eggbertx/gochan.git
synced 2025-08-19 12:36:23 -07:00
20 lines
No EOL
1.1 KiB
HTML
20 lines
No EOL
1.1 KiB
HTML
{{template "page_header.html" .}}
|
|
<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>
|
|
<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>
|
|
<tr><th class="postblock">Message</th><td><textarea rows="4" cols="48" name="editmsg" id="editmsg">{{.post.MessageText}}</textarea></td></tr>
|
|
</table>
|
|
</form><br />
|
|
{{template "page_footer.html" .}} |