contentdb/app/templates/threads/delete_thread.html

23 lines
685 B
HTML
Raw Normal View History

{% extends "base.html" %}
{% block title %}
2020-12-10 17:49:37 +01:00
{{ _('Delete "%(title)s" by %(author)s', title=thread.title, author=thread.author.display_name) }}
{% 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">
{{ thread.replies[0].comment | markdown }}
</div>
<div class="card-body">
<p>Deleting is permanent</p>
<a class="btn btn-secondary mr-3" href="{{ thread.getViewURL() }}">Cancel</a>
<input type="submit" value="Delete" class="btn btn-danger" />
</div>
</form>
{% endblock %}