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

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>