mirror of
https://github.com/boostorg/website-v2.git
synced 2026-02-27 17:42:08 +00:00
26 lines
956 B
HTML
26 lines
956 B
HTML
{% extends 'board_base.html' %}
|
|
{% load i18n %}
|
|
{% load forum_conversation_tags %}
|
|
|
|
{% block sub_title %}{% trans "Delete post" %}{% endblock sub_title %}
|
|
|
|
{% block content %}
|
|
<div class="row">
|
|
<div class="col-12">
|
|
<div class="card post-delete">
|
|
<div class="card-header">
|
|
<h3 class="m-0 card-title h5">{% trans "Delete post" %}</h3>
|
|
</div>
|
|
<div class="card-body">
|
|
<div class="mb-3 warning-message">{% trans "Are you sure you want to delete this post?" %}</div>
|
|
<form action="" method="post">{% csrf_token %}
|
|
<input type="hidden" name="post" value="yes" />
|
|
<button role="submit" class="btn btn-warning">{% trans "Yes, I'm sure" %}</button>
|
|
<a href="{% url 'forum_conversation:topic' topic.forum.slug topic.forum.pk topic.slug topic.pk %}" class="btn btn-secondary">{% trans "No, take me back" %}</a>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{% endblock content %}
|