aboutsummaryrefslogtreecommitdiff
path: root/templates/timeline.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/timeline.tmpl')
-rw-r--r--templates/timeline.tmpl12
1 files changed, 2 insertions, 10 deletions
diff --git a/templates/timeline.tmpl b/templates/timeline.tmpl
index fe426de..09717c1 100644
--- a/templates/timeline.tmpl
+++ b/templates/timeline.tmpl
@@ -2,16 +2,8 @@
{{template "navigation.tmpl" .NavbarData}}
<div class="page-title"> Timeline </div>
-<form class="timeline-post-form" action="/post" method="POST" enctype="multipart/form-data">
- <label for="post-content"> New Post </label>
- <div class="post-content-container">
- <textarea id="post-content" name="content" class="post-content" cols="50" rows="5"></textarea>
- </div>
- <div class="post-attachment-div">
- Attachments <input id="post-file-picker" type="file" name="attachments" multiple>
- </div>
- <button type="submit"> Post </button>
-</form>
+
+{{template "postform.tmpl" }}
{{range .Statuses}}
{{template "status.tmpl" .}}