2020-12-09 19:40:25 +01:00
|
|
|
{% extends "base.html" %}
|
|
|
|
|
|
|
|
{% block title %}
|
2021-02-26 00:25:33 +01:00
|
|
|
{{ _('Delete "%(title)s" by %(author)s', title=thread.title, author=thread.author.username) }}
|
2020-12-09 19:40:25 +01:00
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
<form method="POST" action="" class="card box_grey">
|
|
|
|
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}" />
|
|
|
|
|
2020-12-10 17:49:37 +01:00
|
|
|
<h3 class="card-header">{{ self.title() }}</h3>
|
2021-02-23 01:01:28 +01:00
|
|
|
<div class="card-body markdown">
|
2020-12-09 19:40:25 +01:00
|
|
|
{{ thread.replies[0].comment | markdown }}
|
|
|
|
</div>
|
|
|
|
<div class="card-body">
|
2022-01-08 00:27:00 +01:00
|
|
|
<p>{{ _("Deleting is permanent") }}</p>
|
2020-12-09 19:40:25 +01:00
|
|
|
|
2022-01-08 00:27:00 +01:00
|
|
|
<a class="btn btn-secondary mr-3" href="{{ thread.getViewURL() }}">{{ _("Cancel") }}</a>
|
|
|
|
<input type="submit" value="{{ _('Delete') }}" class="btn btn-danger" />
|
2020-12-09 19:40:25 +01:00
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
{% endblock %}
|