.
This commit is contained in:
+1
-1
@@ -214,4 +214,4 @@ AnswerUpdateFormSet = inlineformset_factory(
|
||||
class ExamForm(ModelForm):
|
||||
class Meta:
|
||||
model = Exam
|
||||
fields = ["name", "time_limit", "exam_mode", "active", "archive"]
|
||||
fields = ["name", "time_limit", "open_access", "exam_mode", "active", "archive"]
|
||||
@@ -26,6 +26,7 @@
|
||||
Exam mode: {{ exam.exam_mode }}<span class="help-text">[When true the packet will be taken as an exam (it will
|
||||
not self mark and results will be saved here)]</span>
|
||||
</div>
|
||||
Open access: {{ exam.open_access }}<br />
|
||||
|
||||
<div class="parent-help" title="Click to enable / disable the exam">
|
||||
Exam active: <input type="checkbox" id="exam-active-switch" {% if exam.active %}checked{% endif %} data-posturl="{% url 'rapids:exam_toggle_active' pk=exam.pk %}"> <span
|
||||
|
||||
Reference in New Issue
Block a user