diff --git a/atlas/forms.py b/atlas/forms.py index 3b8a0bfe..1c3eee1f 100755 --- a/atlas/forms.py +++ b/atlas/forms.py @@ -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 \ No newline at end of file + self.fields['score'].required = False