.
This commit is contained in:
@@ -1,5 +1,4 @@
|
|||||||
{% extends 'rapids/exams.html' %}
|
{% extends 'rapids/exams.html' %}
|
||||||
{% extends 'exam_overview_js.html' %}
|
|
||||||
|
|
||||||
{% block content %}
|
{% 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>
|
<button id='button-closed-access' data-posturl="{% url 'rapids:exam_json_edit' pk=exam.pk %}">Make questions closed access</button>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
{% includes 'exam_overview_js.html' %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
{% block js %}
|
<script type="text/javascript">
|
||||||
<script type="text/javascript">
|
|
||||||
$(document).ready(function () {
|
$(document).ready(function () {
|
||||||
// send request to change the is_private state on customSwitches toggle
|
// send request to change the is_private state on customSwitches toggle
|
||||||
$("#exam-active-switch").on("change", function (evt) {
|
$("#exam-active-switch").on("change", function (evt) {
|
||||||
@@ -142,6 +141,4 @@
|
|||||||
|
|
||||||
|
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
{% endblock js %}
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user