16 lines
541 B
HTML
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 %}
|