This commit is contained in:
Ross
2021-11-28 16:23:22 +00:00
parent c38e665c19
commit 447e6acab8
4 changed files with 61 additions and 9 deletions
+4 -4
View File
@@ -144,9 +144,9 @@ class CaseForm(ModelForm):
"subspecialty",
"description",
"history",
"findings",
#"findings",
"condition",
"sign",
#"sign",
"open_access",
]
# fields = ['question', 'findings', 'subspecialty', 'references']
@@ -154,8 +154,8 @@ class CaseForm(ModelForm):
# "normal": RadioSelect(
# choices=[(True, 'Yes'),
# (False, 'No')])
"findings": TinyMCE(attrs={"cols": 80, "rows": 20}),
"mark_scheme": TinyMCE(attrs={"cols": 80, "rows": 30}),
#"findings": 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}),
}