-
-{% endblock %}
\ No newline at end of file
+ })
+ });
+
+{% endblock %}
diff --git a/rapids/forms.py b/rapids/forms.py
index 5c516529..b89af921 100755
--- a/rapids/forms.py
+++ b/rapids/forms.py
@@ -214,4 +214,4 @@ AnswerUpdateFormSet = inlineformset_factory(
class ExamForm(ModelForm):
class Meta:
model = Exam
- fields = ["name", "time_limit", "exam_mode", "active", "archive"]
\ No newline at end of file
+ fields = ["name", "time_limit", "open_access", "exam_mode", "active", "archive"]
\ No newline at end of file
diff --git a/rapids/templates/rapids/exam_overview.html b/rapids/templates/rapids/exam_overview.html
index bb1c6be9..3ec52d8f 100644
--- a/rapids/templates/rapids/exam_overview.html
+++ b/rapids/templates/rapids/exam_overview.html
@@ -26,6 +26,7 @@
Exam mode: {{ exam.exam_mode }}[When true the packet will be taken as an exam (it will
not self mark and results will be saved here)]
+ Open access: {{ exam.open_access }}
Exam active:
-
Exam: {{ exam.name }}
+ {% load thumbnail %}
+
+
Exam: {{ exam.name }}
- {% include 'exam_notes.html' %}
+ {% include 'exam_notes.html' %}
- This exam has {{question_number}} questions.
+
This exam has {{question_number}} questions.
-
- Exam active: [When checked the exam will be available to take in the test system]
-
-
- Publish results: [When checked the exam results will
- be available on this site]
-
-
- This exam will be available to take here (when active).
+ Open access: {{ exam.open_access }}
+
+ Exam active: [When checked the exam will be available to take in the test system]
+
+
+ Publish results: [When checked the exam results will
+ be available on this site]
+
+
+ This exam will be available to take here (when active).
- {% autoescape off %}
-
- {% for question in questions.all %}
+ {% autoescape off %}
+
+ {% for question in questions.all %}
-
-
- {{ question.stem|safe }}
-
-
{{ question.a_answer|safe }}
-
{{ question.b_answer|safe }}
-
{{ question.c_answer|safe }}
-
{{ question.d_answer|safe }}
-
{{ question.e_answer|safe }}
Best answer : {{question.best_answer}} ({{question.get_correct_answer_stripped}})
+