summaryrefslogtreecommitdiff
path: root/yaksh/forms.py
diff options
context:
space:
mode:
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(