mirror of
https://git.wownero.com/lza_menace/suchwow.git
synced 2024-08-15 01:03:19 +00:00
comment button to delete for now
This commit is contained in:
parent
da29ccbf41
commit
84d1e45db2
1 changed files with 2 additions and 1 deletions
|
@ -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>
|
||||
|
||||
|
|
Loading…
Reference in a new issue