This commit is contained in:
Ross
2021-12-10 22:22:10 +00:00
parent 9b1daf5f68
commit 1933489613
2 changed files with 9 additions and 1 deletions
+1 -1
View File
@@ -7,7 +7,7 @@
<div class="alert alert-info" role="alert"> <div class="alert alert-info" role="alert">
<details> <details>
<summary><h3>Instructions</h3></summary> <summary title="click to open"><h3>Instructions</h3></summary>
<p> <p>
Please make sure you submit answers before closing or navigating from this page (as otherwise they will not Please make sure you submit answers before closing or navigating from this page (as otherwise they will not
be saved). The submit button is at the bottom of the page. be saved). The submit button is at the bottom of the page.
+8
View File
@@ -4,6 +4,14 @@
{% load thumbnail %} {% load thumbnail %}
<div class="sbas"> <div class="sbas">
{% 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 %}
{% 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' %}