about summary refs log tree commit diff
path: root/templates/post.html
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@gmail.com>2018-04-15T21·09+0200
committerVincent Ambo <tazjin@gmail.com>2018-04-15T21·09+0200
commit7a557865528d6dba78b4dcb90248623aa100f930 (patch)
tree28daa7aa6de1f47e8b06e4110cff8c28ed784bc3 /templates/post.html
parentf4ca632c003e318f6b86b601557d345db32bdf03 (diff)
fix(templates/post): Correctly insert post body
Diffstat (limited to 'templates/post.html')
-rw-r--r--templates/post.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/post.html b/templates/post.html
index 74cf03abf307..bdc725c94fc5 100644
--- a/templates/post.html
+++ b/templates/post.html
@@ -79,7 +79,7 @@
               <div class="input-group-prepend">
                 <span class="input-group-text" id="post-text">Post:</span>
               </div>
-              <textarea class="form-control" id="post" name="post" rows="15" aria-label="post content">{% if body %}{{ body }}{% endif %}</textarea>
+              <textarea class="form-control" id="post" name="post" rows="15" aria-label="post content">{% if post %}{{ post }}{% endif %}</textarea>
             </div>
             <div class="d-flex flex-column flex-wrap-reverse border rounded">
               <p class="m-2 pb-2 border-bottom border-dark">