aboutsummaryrefslogtreecommitdiff
path: root/templates/timeline.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/timeline.tmpl')
-rw-r--r--templates/timeline.tmpl4
1 files changed, 3 insertions, 1 deletions
diff --git a/templates/timeline.tmpl b/templates/timeline.tmpl
index 7f3234c..51bf12e 100644
--- a/templates/timeline.tmpl
+++ b/templates/timeline.tmpl
@@ -2,11 +2,13 @@
<div class="page-title"> Timeline </div>
{{template "navigation.tmpl"}}
-<form class="timeline-post-form" action="/post" method="POST">
+<form class="timeline-post-form" action="/post" method="POST" enctype="multipart/form-data">
<label for="post-content"> New Post </label>
<br/>
<textarea id="post-content" name="content" class="post-content" cols="50" rows="5"></textarea>
<br/>
+ Attachments <input id="post-file-picker" type="file" name="attachments" multiple>
+ <br/>
<button type="submit"> Post </button>
</form>