comment button to delete for now

This commit is contained in:
lza_menace 2020-09-23 22:20:27 -07:00
parent da29ccbf41
commit 84d1e45db2
1 changed files with 2 additions and 1 deletions

View File

@ -58,12 +58,13 @@
<a href="{{ url_for('comment.create', post_id=post.id) }}"><button class="btn btn-warning">Leave a Comment</button></a>
{#
{% if "auth" in session %}
{% if session.auth.preferred_username == post.submitter %}
<hr><a href="{{ url_for('post.delete', id=post.id) }}"><button class="btn btn-danger">Delete Post</button></a>
{% endif %}
{% endif %}
#}
</div>
</div>