add context to cloning forms

This commit is contained in:
Ross
2024-03-11 11:48:37 +00:00
parent 0cb38f5c31
commit a62023a5d8
17 changed files with 65 additions and 97 deletions
+6 -1
View File
@@ -1,7 +1,12 @@
{% extends 'base.html' %}
{% extends object.get_base_template %}
{% block navigation %}
{{ block.super }}
{% include object.get_link_headers %}
{% endblock navigation %}
{% block content %}
<h2>Delete Exam: {{ object }}</h2>
<form method="post">{% csrf_token %}
<p>Are you sure you want to delete the exam "{{ object }}"?</p>
<input type="submit" value="Confirm">