.
This commit is contained in:
@@ -27,6 +27,9 @@ from generic.models import Examination, Condition, Sign
|
||||
from django.contrib.admin.widgets import FilteredSelectMultiple
|
||||
from django.forms.widgets import RadioSelect, TextInput, Textarea
|
||||
|
||||
from tinymce.widgets import TinyMCE
|
||||
|
||||
|
||||
|
||||
class LongAnswerForm(ModelForm):
|
||||
class Meta:
|
||||
@@ -149,6 +152,7 @@ class LongForm(ModelForm):
|
||||
# "normal": RadioSelect(
|
||||
# choices=[(True, 'Yes'),
|
||||
# (False, 'No')])
|
||||
"mark_scheme" : TinyMCE(attrs={'cols': 80, 'rows': 30})
|
||||
}
|
||||
|
||||
def save(self, commit=True):
|
||||
|
||||
Reference in New Issue
Block a user