summaryrefslogtreecommitdiff
path: root/yaksh/forms.py
diff options
context:
space:
mode:
authorPalaparthy Adityachandra2020-11-03 17:20:23 +0530
committerGitHub2020-11-03 17:20:23 +0530
commit81f96a24954d375ab32ab8dfb1ee8aba299655c6 (patch)
treeadd26043d9c69cf50553b5eb45e8744618a4b607 /yaksh/forms.py
parent602f88e334865c995d86a457acdca6cc43b354ef (diff)
parent81f04f1382b1416480ed0bf0e4018afcce4cfef4 (diff)
downloadonline_test-81f96a24954d375ab32ab8dfb1ee8aba299655c6.tar.gz
online_test-81f96a24954d375ab32ab8dfb1ee8aba299655c6.tar.bz2
online_test-81f96a24954d375ab32ab8dfb1ee8aba299655c6.zip
Merge pull request #785 from adityacp/multiple_ui_fixes
Multiple UI changes
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'}