This commit is contained in:
Ross
2021-09-29 19:28:15 +01:00
parent e2f23f378b
commit 8c0905d0ff
3 changed files with 284 additions and 271 deletions
+3
View File
@@ -6,6 +6,9 @@
<div class="longs">
<a href="{% url 'longs:exam_update' exam.id %}" title="Edit the Exam">Edit</a>
<a href="{% url 'longs:exam_delete' exam.id %}" title="Delete the Exam">Delete</a>
{% if can_edit %}
<a href="{% url 'longs:exam_clone' exam.id %}" title="Clone the Exam">Delete</a>
{% endif %}
{% if request.user.is_superuser %}
<a href="{% url 'admin:longs_exam_change' exam.id %}" title="Edit the Exam using the admin interface">Admin Edit</a>
{% endif %}