Use custom select for level too
This commit is contained in:
parent
8a370d52ab
commit
8040674be9
1 changed files with 1 additions and 0 deletions
|
@ -24,6 +24,7 @@ class EditBookForm(forms.ModelForm):
|
|||
self.fields['teacher'].widget.attrs.update({'class': 'custom-select'})
|
||||
self.fields['editor'].widget.attrs.update({'class': 'custom-select'})
|
||||
self.fields['previously_acquired'].widget.attrs.update({'class': 'custom-select'})
|
||||
self.fields['level'].widget.attrs.update({'class': 'custom-select'})
|
||||
|
||||
def clean(self):
|
||||
editor = self.cleaned_data['editor']
|
||||
|
|
Loading…
Reference in a new issue