diff options
author | Palaparthy Adityachandra | 2020-05-18 16:29:04 +0530 |
---|---|---|
committer | GitHub | 2020-05-18 16:29:04 +0530 |
commit | 5c57dd3ab185d5d0ad39240180e98d4a3131daa5 (patch) | |
tree | a6ba3348f82f596a9d54b5a3cc63aa1eff83229b /yaksh/forms.py | |
parent | db456ca53778c720ee597e3fcf7814c623bc32fd (diff) | |
parent | 61d4096697a84873473ad28afb0dc79f211a54b3 (diff) | |
download | online_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.py | 3 |
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'} ) |