This commit is contained in:
Ross
2021-10-17 12:10:21 +01:00
parent 53cbdf4165
commit 56522ae0ae
2 changed files with 23 additions and 166 deletions
+4 -2
View File
@@ -72,7 +72,9 @@
{{ author }},
{% endfor %}
</div>
<p><button id='button-edit-order' title='click and drag questions to change order' data-posturl="{% url 'rapids:exam_json_edit' pk=exam.pk %}">Edit question order / Delete questions</button></p>
{% if can_edit %}
<p><button id='button-edit-order' title='click and drag questions to change order' data-posturl="{% url 'rapids:exam_json_edit' pk=exam.pk %}">Edit question order / Delete questions</button></p>
{% endif %}
<div>
JSON creation time: {{exam.json_creation_time}} ({{exam.json_creation_time|date:"c"}}),
JSON creation id: {{exam.exam_json_id}}
@@ -84,6 +86,6 @@
<button id='button-closed-access' data-posturl="{% url 'rapids:exam_json_edit' pk=exam.pk %}">Make questions closed access</button>
</div>
{% include 'exam_overview_js.html' %}
{% include 'exam_overview_js.html' %}
{% endblock %}