kopia lustrzana https://github.com/djpeacher/django-projects
12 wiersze
358 B
HTML
12 wiersze
358 B
HTML
|
|
{% extends "base.html" %}
|
||
|
|
|
||
|
|
{% block content %}
|
||
|
|
<h1>Confirm Delete?</h1>
|
||
|
|
<p>{{ object }}</p>
|
||
|
|
<form method="POST" action="{{ delete_view_url }}">
|
||
|
|
{% csrf_token %}
|
||
|
|
{{ form }}
|
||
|
|
<button type="submit">Delete</button>
|
||
|
|
<a class="button" href="{% url object_verbose_name|add:'-list' %}">Cancel</a>
|
||
|
|
</form>
|
||
|
|
{% endblock %}
|