This commit is contained in:
Ross
2021-12-10 22:25:47 +00:00
parent 3248380732
commit d9c6f464ee
@@ -4,6 +4,14 @@
{% load thumbnail %} {% load thumbnail %}
<div class="physics"> <div class="physics">
{% comment %} {% 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 %}
{% 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 %}
<h1>Exam: {{ exam.name }}</h1> <h1>Exam: {{ exam.name }}</h1>
{% include 'exam_notes.html' %} {% include 'exam_notes.html' %}