zkt26/z1/diary_app/templates/diary/entry_confirm_delete.html
2026-04-01 06:53:48 +02:00

16 lines
541 B
HTML

{% extends 'diary/base.html' %}
{% block title %}Delete Entry{% endblock %}
{% block content %}
<div class="form-page">
<h1>Delete Entry</h1>
<p>Are you sure you want to delete <strong>"{{ entry.title }}"</strong>? This cannot be undone.</p>
<form method="post" class="diary-form">
{% csrf_token %}
<div class="form-actions">
<button type="submit" class="btn btn-danger">Yes, delete it</button>
<a href="{% url 'entry_detail' entry.pk %}" class="btn btn-ghost">Cancel</a>
</div>
</form>
</div>
{% endblock %}