This commit is contained in:
Ross
2021-08-11 19:33:16 +01:00
parent b007b42953
commit d3c5b5b80d
+8 -2
View File
@@ -152,8 +152,14 @@ class LongForm(ModelForm):
# "normal": RadioSelect(
# choices=[(True, 'Yes'),
# (False, 'No')])
"feedback" : TinyMCE(attrs={'cols': 80, 'rows': 30}),
"mark_scheme" : TinyMCE(attrs={'cols': 80, 'rows': 30})
"feedback" : TinyMCE(attrs={'cols': 80, 'rows': 20}),
"mark_scheme" : TinyMCE(attrs={'cols': 80, 'rows': 30}),
"description" : Textarea(attrs={'cols': 80, 'rows': 5}),
"history" : Textarea(attrs={'cols': 80, 'rows': 5}),
"model_observation" : Textarea(attrs={'cols': 80, 'rows': 5}),
"model_interpretation" : Textarea(attrs={'cols': 80, 'rows': 5}),
"model_differential_diagnosis" : Textarea(attrs={'cols': 80, 'rows': 5}),
"model_management" : Textarea(attrs={'cols': 80, 'rows': 5}),
}
def save(self, commit=True):