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

@@ -3,10 +3,10 @@
{% block content %}
<p>Are you sure you want to delete "{{ thread_title }}"?</p>
<p>
<form method="post" action="../delete" style=inline>
<form method="post" action="{{ url_for('delete_thread', thread_id = thread_id) }}" style=inline>
<input type="submit" value="Yes">
</form>
<form method="get" action=".." style=inline>
<form method="get" action="{{ url_for('thread', thread_id = thread_id) }}" style=inline>
<input type="submit" value="No">
</form>
</p>