diff options
author | adityacp | 2020-09-09 17:07:21 +0530 |
---|---|---|
committer | adityacp | 2020-09-09 17:07:21 +0530 |
commit | 28f9fc3fa8b6ad7866c7ef72f13883af7d6ab7e7 (patch) | |
tree | 3b6b3e1ee7c3181edf9edbe6d43f7f6f2000cdde /yaksh/forms.py | |
parent | 196e5df3930d4c3f18dfd7e33c9821ca2f74a51e (diff) | |
download | online_test-28f9fc3fa8b6ad7866c7ef72f13883af7d6ab7e7.tar.gz online_test-28f9fc3fa8b6ad7866c7ef72f13883af7d6ab7e7.tar.bz2 online_test-28f9fc3fa8b6ad7866c7ef72f13883af7d6ab7e7.zip |
Show the toc quiz on the student dashboard
Diffstat (limited to 'yaksh/forms.py')
-rw-r--r-- | yaksh/forms.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yaksh/forms.py b/yaksh/forms.py index ba8b7d5..440a535 100644 --- a/yaksh/forms.py +++ b/yaksh/forms.py @@ -704,7 +704,7 @@ class VideoQuizForm(forms.ModelForm): {'class': form_input_class, 'placeholder': 'Points'} ) self.fields['type'].widget.attrs.update( - {'class': form_input_class} + {'class': form_input_class, 'readonly': True} ) self.fields['type'].initial = question_type self.fields['description'].widget.attrs.update( |