Added reply button to posts on reply pages
This commit is contained in:
parent
751e8394ea
commit
b8eca6877d
1 changed files with 2 additions and 2 deletions
|
@ -4,7 +4,7 @@
|
|||
<div class="row">
|
||||
{% for post in posts %}
|
||||
<div class="card" style="word-wrap: brea-word; margin-bottom: 16px; width: 100%;">
|
||||
<div class="card-header"><b>{{ post.poster }}</b> at {{ post.timePosted.strftime('%Y-%m-%d %-H:%M') }}</div>
|
||||
<div class="card-header"><b>{{ post.poster }}</b> at {{ post.timePosted.strftime('%Y-%m-%d %-H:%M') }} <span style="float: right"><a href="/reply/{{ post._id }}" class="btn btn-primary btn-sm"><i class="far fa-reply"></i></a> {% if logged_in == post.poster %} <a href="/delete/{{ post._id }}" class="btn btn-danger btn-sm"><i class="far fa-trash-alt"></i></a>{% endif %}</span></div>
|
||||
<div class="card-body">
|
||||
{{ post.content }}
|
||||
</div>
|
||||
|
|
Loading…
Add table
Reference in a new issue