This commit is contained in:
Ross
2021-10-17 12:00:55 +01:00
parent a0cd72ddff
commit 9b734fc971
2 changed files with 81 additions and 84 deletions
+1 -1
View File
@@ -1,5 +1,4 @@
{% extends 'rapids/exams.html' %}
{% extends 'exam_overview_js.html' %}
{% block content %}
@@ -85,4 +84,5 @@
<button id='button-closed-access' data-posturl="{% url 'rapids:exam_json_edit' pk=exam.pk %}">Make questions closed access</button>
</div>
{% includes 'exam_overview_js.html' %}
{% endblock %}
+2 -5
View File
@@ -1,5 +1,4 @@
{% block js %}
<script type="text/javascript">
<script type="text/javascript">
$(document).ready(function () {
// send request to change the is_private state on customSwitches toggle
$("#exam-active-switch").on("change", function (evt) {
@@ -142,6 +141,4 @@
});
</script>
{% endblock js %}
</script>