summaryrefslogtreecommitdiff
path: root/yaksh/forms.py
diff options
context:
space:
mode:
authoradityacp2020-11-03 15:03:10 +0530
committeradityacp2020-11-03 15:10:42 +0530
commit96c95dcdb543088008d8b202c1ecbb54f0ea1d45 (patch)
treebc9186c85a34b89c36c3800ca9998da2659f79eb /yaksh/forms.py
parent602f88e334865c995d86a457acdca6cc43b354ef (diff)
parentff860034a56daa9229549c07d7bb74d479fdd6f7 (diff)
downloadonline_test-96c95dcdb543088008d8b202c1ecbb54f0ea1d45.tar.gz
online_test-96c95dcdb543088008d8b202c1ecbb54f0ea1d45.tar.bz2
online_test-96c95dcdb543088008d8b202c1ecbb54f0ea1d45.zip
Merge branch 'multiple_ui_fixes' of https://github.com/adityacp/online_test into multiple_ui_fixes
Diffstat (limited to 'yaksh/forms.py')
-rw-r--r--yaksh/forms.py3
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'}