summaryrefslogtreecommitdiff
path: root/yaksh/forms.py
diff options
context:
space:
mode:
authorPalaparthy Adityachandra2020-05-18 16:29:04 +0530
committerGitHub2020-05-18 16:29:04 +0530
commit5c57dd3ab185d5d0ad39240180e98d4a3131daa5 (patch)
treea6ba3348f82f596a9d54b5a3cc63aa1eff83229b /yaksh/forms.py
parentdb456ca53778c720ee597e3fcf7814c623bc32fd (diff)
parent61d4096697a84873473ad28afb0dc79f211a54b3 (diff)
downloadonline_test-5c57dd3ab185d5d0ad39240180e98d4a3131daa5.tar.gz
online_test-5c57dd3ab185d5d0ad39240180e98d4a3131daa5.tar.bz2
online_test-5c57dd3ab185d5d0ad39240180e98d4a3131daa5.zip
Merge pull request #697 from CruiseDevice/change-create_question
Fix: #696
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'}
)