diff options
Diffstat (limited to 'yaksh/forms.py')
-rw-r--r-- | yaksh/forms.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/yaksh/forms.py b/yaksh/forms.py index ffb15a6..951fcc1 100644 --- a/yaksh/forms.py +++ b/yaksh/forms.py @@ -398,8 +398,11 @@ class ProfileForm(forms.ModelForm): widget=forms.Select({'class': 'custom-select'}) ) + class UploadFileForm(forms.Form): - file = forms.FileField(widget=forms.FileInput(attrs={'class': 'upload'})) + file = forms.FileField( + widget=forms.FileInput(attrs={'class': 'custom-file-input'}) + ) class QuestionPaperForm(forms.ModelForm): |