diff options
author | adityacp | 2020-11-03 11:32:26 +0530 |
---|---|---|
committer | adityacp | 2020-11-03 11:32:26 +0530 |
commit | eac52e0198000d96b4c84f9fa6b63ea50cc59f1d (patch) | |
tree | be8de9d55aa99501ef5713cfb944c4c04021b901 /yaksh/forms.py | |
parent | 430c8d1480d897e9fc0dc328bad173642d0a2946 (diff) | |
download | online_test-eac52e0198000d96b4c84f9fa6b63ea50cc59f1d.tar.gz online_test-eac52e0198000d96b4c84f9fa6b63ea50cc59f1d.tar.bz2 online_test-eac52e0198000d96b4c84f9fa6b63ea50cc59f1d.zip |
Multiple changes
- Add tinymce editor to the question description in lesson quiz
- Fix katex rendering in the lesson quiz questions
- Remove unncessary preview description view function
- Keep the fixed height for the lesson table of contents div
Diffstat (limited to 'yaksh/forms.py')
-rw-r--r-- | yaksh/forms.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/yaksh/forms.py b/yaksh/forms.py index 091505d..d57d388 100644 --- a/yaksh/forms.py +++ b/yaksh/forms.py @@ -715,7 +715,8 @@ class VideoQuizForm(forms.ModelForm): ) self.fields['type'].initial = question_type self.fields['description'].widget.attrs.update( - {'class': form_input_class, 'placeholder': 'Description'} + {'class': form_input_class, 'placeholder': 'Description', + 'id': 'que_description'} ) self.fields['timer'].widget.attrs.update( {'class': form_input_class, 'placeholder': 'Quiz Time'} |