aboutsummaryrefslogtreecommitdiffhomepage
path: root/apioforum/templates/delete_thread.html
blob: aaf1de340c3637bac71b785fa4c59e0735d12a31 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{% from 'common.html' import ts %}
{% extends 'base.html' %}
{% block header %}
<h1>{% block title %}delete thread '{{thread.title}}'{% endblock %}</h1>
{% endblock %}

{% block content %}

<form method="post">
<p>deleting thread created {{ts(thread.created)}} ago with {{post_count}} posts</p>
{% if post_count > 50 %}
<p class="warning">thread contains more than 50 posts!</p>
{% endif %}
<p>confirm delete?</p>
<input type="submit" value="delete">
<a href="{{url_for('thread.view_thread',thread_id=thread.id)}}">cancel</a>
</form>
{% endblock %}