.
This commit is contained in:
+10
-1
@@ -412,6 +412,15 @@ class CidReportAnswerMarkForm(ModelForm):
|
||||
model = CidReportAnswer
|
||||
fields = ["score", "feedback"]
|
||||
|
||||
widgets = {
|
||||
# "normal": RadioSelect(
|
||||
# choices=[(True, 'Yes'),
|
||||
# (False, 'No')])
|
||||
# "findings": TinyMCE(attrs={"cols": 80, "rows": 20}),
|
||||
# "mark_scheme": TinyMCE(attrs={"cols": 80, "rows": 30}),
|
||||
"feedback": Textarea(attrs={"cols": 80, "rows": 4}),
|
||||
}
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
super(CidReportAnswerMarkForm, self).__init__(*args, **kwargs)
|
||||
self.fields['score'].required = False
|
||||
self.fields['score'].required = False
|
||||
|
||||
Reference in New Issue
Block a user