This commit is contained in:
Ross
2021-12-11 11:35:04 +00:00
parent d2174b6209
commit af290ed489
3 changed files with 22 additions and 2 deletions
+2 -2
View File
@@ -4,11 +4,11 @@
{% load thumbnail %}
<div class="physics">
{% comment %} {% if can_edit %}
{% if can_edit %}
<a href="{% url 'sbas:exam_update' exam.id %}" title="Edit the Exam">Edit</a>
<a href="{% url 'sbas:exam_delete' exam.id %}" title="Delete the Exam">Delete</a>
<a href="{% url 'sbas:exam_clone' exam.id %}" title="Clone the Exam">Clone</a>
{% endif %} {% endcomment %}
{% endif %}
{% if request.user.is_superuser %}
<a href="{% url 'admin:sbas_exam_change' exam.id %}" title="Edit the Exam using the admin interface">Admin Edit</a>
{% endif %}