From f050dd919d5719874aafadf0a674d816a25bc9eb Mon Sep 17 00:00:00 2001 From: CruiseDevice Date: Wed, 29 Apr 2020 22:11:19 +0530 Subject: Fix: #696 --- yaksh/forms.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'yaksh/forms.py') diff --git a/yaksh/forms.py b/yaksh/forms.py index 216f5c2..1cd1291 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': 'custom-select'} + ) self.fields['type'].widget.attrs.update( {'class': 'custom-select'} ) -- cgit From 31e8b94b8ebf74d77cc8596411c6acfa2112f949 Mon Sep 17 00:00:00 2001 From: CruiseDevice Date: Mon, 4 May 2020 16:25:50 +0530 Subject: Show question topic and language in quiz --- yaksh/forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'yaksh/forms.py') 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'} -- cgit