fix(templates/post): Correctly insert post body

This commit is contained in:
Vincent Ambo 2018-04-15 23:09:24 +02:00
parent f4ca632c00
commit 7a55786552

View file

@ -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">