diff --git a/generic/forms.py b/generic/forms.py index 7106109a..35399f47 100755 --- a/generic/forms.py +++ b/generic/forms.py @@ -771,6 +771,11 @@ class ExamCollectionForm(ModelForm): widget=FilteredSelectMultiple(verbose_name=name, is_stacked=False), ) + self.fields["author"] = ModelMultipleChoiceField( + queryset=User.objects.all(), + widget=FilteredSelectMultiple(verbose_name="Authors", is_stacked=False), required=False, + ) + def save(self, commit=True): # Get the unsaved Long instance instance = ModelForm.save(self, False) diff --git a/generic/templates/generic/examcollection_detail.html b/generic/templates/generic/examcollection_detail.html index 0de7938e..da86a567 100755 --- a/generic/templates/generic/examcollection_detail.html +++ b/generic/templates/generic/examcollection_detail.html @@ -10,7 +10,9 @@ Delete
- This collection contains the following exams +This collection contains the following exams
diff --git a/templates/exam_list.html b/templates/exam_list.html index c8052aba..e9775973 100644 --- a/templates/exam_list.html +++ b/templates/exam_list.html @@ -51,7 +51,13 @@ {% for exam in exams %} {% if not exam.active %}