mirror of
https://github.com/minetest/contentdb.git
synced 2024-12-23 14:32:25 +01:00
dea5a52c86
Fixes #269
23 lines
681 B
HTML
23 lines
681 B
HTML
{% extends "base.html" %}
|
|
|
|
{% block title %}
|
|
{{ _('Delete "%(title)s" by %(author)s', title=thread.title, author=thread.author.username) }}
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
<form method="POST" action="" class="card box_grey">
|
|
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}" />
|
|
|
|
<h3 class="card-header">{{ self.title() }}</h3>
|
|
<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 %}
|