This commit is contained in:
Holger Sielaff
2025-08-27 09:55:55 +02:00
commit 90c0ff61ed
107 changed files with 8535 additions and 0 deletions

View File

@@ -0,0 +1,52 @@
{% extends 'frontend/base.html' %}
{% load markdown_filters %}
{% block title %} - Delete FAQ Entry{% endblock %}
{% block content %}
<div class="col-12">
<div class="d-flex justify-content-between align-items-center mb-4">
<h3>
<i class="bi bi-trash"></i> Delete FAQ Entry
</h3>
<a href="{% url 'frontend:faq_list' %}" class="btn btn-secondary">
<i class="bi bi-arrow-left"></i> Back to FAQ List
</a>
</div>
<div class="card">
<div class="card-body">
<div class="alert alert-warning">
<h5><i class="bi bi-exclamation-triangle"></i> Confirm Deletion</h5>
<p>Are you sure you want to delete this FAQ entry? This action cannot be undone.</p>
</div>
<div class="mb-4">
<h5 class="text-muted">FAQ Entry Details:</h5>
<div class="border rounded p-3 bg-light">
<h6><strong>Title:</strong></h6>
<p>{{ faq.title }}</p>
<h6><strong>Content:</strong></h6>
<div style="max-height: 200px; overflow-y: auto;">{{ faq.content|markdown }}</div>
<h6><strong>Order:</strong></h6>
<p>{{ faq.order }}</p>
</div>
</div>
<form method="post">
{% csrf_token %}
<div class="d-flex justify-content-between">
<a href="{% url 'frontend:faq_list' %}" class="btn btn-secondary">
<i class="bi bi-x-circle"></i> Cancel
</a>
<button type="submit" class="btn btn-danger">
<i class="bi bi-trash"></i> Delete FAQ Entry
</button>
</div>
</form>
</div>
</div>
</div>
{% endblock %}