Clean up forums.go
All the really highly redundant stuff was pulled into a helper type.
This commit is contained in:
parent
9b9d467ce4
commit
15ff1de6fc
|
@ -5,6 +5,7 @@
|
|||
<h3 class="mb3">Are you sure you want to delete this post?</h3>
|
||||
{{ template "forum_post_standalone.html" .Post }}
|
||||
<form action="{{ .SubmitUrl }}" method="POST" class="pv3 flex justify-end">
|
||||
{{ csrftoken .Session }}
|
||||
<input type="submit" value="Delete Post">
|
||||
</form>
|
||||
</div>
|
||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue