This commit is contained in:
Ross
2021-12-10 22:24:15 +00:00
parent 1933489613
commit bdc4df35b8
+2 -2
View File
@@ -4,11 +4,11 @@
{% load thumbnail %}
<div class="sbas">
{% 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 %}
{% 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 %}