summaryrefslogtreecommitdiff
path: root/yaksh/forms.py
diff options
context:
space:
mode:
authorCruiseDevice2020-05-04 16:25:50 +0530
committerCruiseDevice2020-05-04 16:25:50 +0530
commit31e8b94b8ebf74d77cc8596411c6acfa2112f949 (patch)
treeb1f8bb77bd082339c9b17c2a4b8ede5367510b18 /yaksh/forms.py
parentf050dd919d5719874aafadf0a674d816a25bc9eb (diff)
downloadonline_test-31e8b94b8ebf74d77cc8596411c6acfa2112f949.tar.gz
online_test-31e8b94b8ebf74d77cc8596411c6acfa2112f949.tar.bz2
online_test-31e8b94b8ebf74d77cc8596411c6acfa2112f949.zip
Show question topic and language in quiz
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 1cd1291..3c4d664 100644
--- a/yaksh/forms.py
+++ b/yaksh/forms.py
@@ -299,7 +299,7 @@ class QuestionForm(forms.ModelForm):
{'class': 'custom-select'}
)
self.fields['topic'].widget.attrs.update(
- {'class': 'custom-select'}
+ {'class': form_input_class, 'placeholder': 'Topic name'}
)
self.fields['type'].widget.attrs.update(
{'class': 'custom-select'}