aboutsummaryrefslogtreecommitdiff
path: root/templates/thread.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/thread.tmpl')
-rw-r--r--templates/thread.tmpl4
1 files changed, 3 insertions, 1 deletions
diff --git a/templates/thread.tmpl b/templates/thread.tmpl
index 4bdc2f0..a3f7916 100644
--- a/templates/thread.tmpl
+++ b/templates/thread.tmpl
@@ -8,12 +8,14 @@
{{template "status.tmpl" .Status}}
{{if .PostReply}}
-<form class="timeline-post-form" action="/post" method="POST">
+<form class="timeline-post-form" action="/post" method="POST" enctype="multipart/form-data">
<input type="hidden" name="reply_to_id" value="{{.ReplyToID}}" />
<label for="post-content"> Reply to {{.Status.Account.DisplayName}} </label>
<br/>
<textarea id="post-content" name="content" class="post-content" cols="50" rows="5">{{.ReplyContent}}</textarea>
<br/>
+ Attachments <input id="post-file-picker" type="file" name="attachments" multiple>
+ <br/>
<button type="submit"> Post </button>
</form>
{{end}}