summaryrefslogtreecommitdiff
path: root/yaksh/forms.py
diff options
context:
space:
mode:
authoradityacp2020-09-09 17:07:21 +0530
committeradityacp2020-09-09 17:07:21 +0530
commit28f9fc3fa8b6ad7866c7ef72f13883af7d6ab7e7 (patch)
tree3b6b3e1ee7c3181edf9edbe6d43f7f6f2000cdde /yaksh/forms.py
parent196e5df3930d4c3f18dfd7e33c9821ca2f74a51e (diff)
downloadonline_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.py2
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(