X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/8885fd14f5f040eb3aa69f1d705856f99a1fa572..4fb23ed3c3396d23a37a718fc857ecc8b36b0c7f:/src/catalogue/forms.py diff --git a/src/catalogue/forms.py b/src/catalogue/forms.py index 055800edc..919ff3a62 100644 --- a/src/catalogue/forms.py +++ b/src/catalogue/forms.py @@ -19,6 +19,7 @@ class BookImportForm(forms.Form): hidden = forms.BooleanField(required=False) logo = forms.CharField(required=False) logo_mono = forms.CharField(required=False) + logo_alt = forms.CharField(required=False) def clean(self): from django.core.files.base import ContentFile @@ -38,6 +39,7 @@ class BookImportForm(forms.Form): findable=not self.cleaned_data['hidden'], logo=self.cleaned_data['logo'], logo_mono=self.cleaned_data['logo_mono'], + logo_alt=self.cleaned_data['logo_alt'], **kwargs)