feat: add marker feedback field to UserAnswer model and update forms accordingly
This commit is contained in:
+2
-1
@@ -262,10 +262,11 @@ class QuestionFindingForm(ModelForm):
|
||||
class MarkQuestionSingleForm(ModelForm):
|
||||
class Meta:
|
||||
model = UserAnswer
|
||||
fields = ["score", "candidate_feedback"]
|
||||
fields = ["score", "candidate_feedback", "marker_feedback"]
|
||||
|
||||
widgets = {
|
||||
"candidate_feedback": Textarea(attrs={"rows": 3}),
|
||||
"marker_feedback": Textarea(attrs={"rows": 3}),
|
||||
}
|
||||
|
||||
class MarkQuestionDoubleForm(ModelForm):
|
||||
|
||||
Reference in New Issue
Block a user