tidy up some longs related stuff
This commit is contained in:
+5
-2
@@ -51,13 +51,16 @@ class LongAnswerForm(ModelForm):
|
||||
class MarkLongQuestionSingleForm(ModelForm):
|
||||
class Meta:
|
||||
model = UserAnswer
|
||||
fields = ["score"]
|
||||
fields = ["score", "candidate_feedback"]
|
||||
|
||||
widgets = {
|
||||
"candidate_feedback": Textarea(attrs={"rows": 3}),
|
||||
}
|
||||
|
||||
class MarkLongQuestionDoubleForm(ModelForm):
|
||||
class Meta:
|
||||
model = AnswerMarks
|
||||
fields = ["score", "mark_reason", "candidate_feedback"]
|
||||
fields = ["score", "mark_reason"]
|
||||
|
||||
|
||||
class ExaminationForm(ModelForm):
|
||||
|
||||
Reference in New Issue
Block a user