aboutsummaryrefslogtreecommitdiff
path: root/templates/postform.tmpl
diff options
context:
space:
mode:
authorr <r@freesoftwareextremist.com>2020-02-23 13:26:39 +0000
committerr <r@freesoftwareextremist.com>2020-02-23 18:01:50 +0000
commite9f5e0cab55a8a92575139788ffb003ed5d4f576 (patch)
treef6b858d4dc5a7eb623bd139713eacd2faea17ef1 /templates/postform.tmpl
parentdd23ac48678c704949074dd0e41bb8a3550cc33f (diff)
downloadbloat-e9f5e0cab55a8a92575139788ffb003ed5d4f576.tar.gz
bloat-e9f5e0cab55a8a92575139788ffb003ed5d4f576.zip
Use <base> element to set target
Diffstat (limited to 'templates/postform.tmpl')
-rw-r--r--templates/postform.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/postform.tmpl b/templates/postform.tmpl
index d5c1fb9..9c674e9 100644
--- a/templates/postform.tmpl
+++ b/templates/postform.tmpl
@@ -1,5 +1,5 @@
{{with .Data}}
-<form class="post-form" action="/post" method="POST" enctype="multipart/form-data">
+<form class="post-form" action="/post" method="POST" enctype="multipart/form-data" target="_self">
<input type="hidden" name="csrf_token" value="{{$.Ctx.CSRFToken}}">
{{if .ReplyContext}}
<input type="hidden" name="reply_to_id" value="{{.ReplyContext.InReplyToID}}" />