Files
website-v2/templates/forum_conversation/post_delete.html
Greg Newman 6df5b6f888 🚧 pulling in machina templates
Adding machina templates locally so we can style with Tailwind instead of boostrap
2022-09-11 18:10:14 -04:00

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 %}