custom code, fix thread and comment deletions

This commit is contained in:
Ville Rantanen
2023-07-30 10:07:37 +03:00
parent 7fe10f05a2
commit da15d163e2
4 changed files with 33 additions and 54 deletions

View File

@@ -4,10 +4,10 @@
<p>Are you sure you want to delete this comment on "{{ thread_title }}"?</p>
<div class=comment>{{ minimd(text) | safe }}</div>
<p>
<form method="post" action="../delete" style=inline>
<form method="post" action="{{ url_for('delete_comment', comment_id = comment_id) }}" style=inline>
<input type="submit" value="Yes">
</form>
<form method="get" action=".." style=inline>
<form method="get" action="{{ url_for('comment', comment_id = comment_id) }}" style=inline>
<input type="submit" value="No">
</form>
</p>