summaryrefslogtreecommitdiff
path: root/yaksh/forms.py
diff options
context:
space:
mode:
Diffstat (limited to 'yaksh/forms.py')
-rw-r--r--yaksh/forms.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/yaksh/forms.py b/yaksh/forms.py
index 216f5c2..3c4d664 100644
--- a/yaksh/forms.py
+++ b/yaksh/forms.py
@@ -298,6 +298,9 @@ class QuestionForm(forms.ModelForm):
self.fields['language'].widget.attrs.update(
{'class': 'custom-select'}
)
+ self.fields['topic'].widget.attrs.update(
+ {'class': form_input_class, 'placeholder': 'Topic name'}
+ )
self.fields['type'].widget.attrs.update(
{'class': 'custom-select'}
)