X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/aff5def884b3e0aeaafd7de454b68b4daa2c4f3d..dcae693e6618e9da605767a5e254adb75016ca76:/apps/catalogue/forms.py diff --git a/apps/catalogue/forms.py b/apps/catalogue/forms.py index 076282bf4..60a99cdf8 100644 --- a/apps/catalogue/forms.py +++ b/apps/catalogue/forms.py @@ -26,6 +26,7 @@ class SearchForm(forms.Form): tags = kwargs.pop('tags', []) super(SearchForm, self).__init__(*args, **kwargs) self.fields['q'].widget.attrs['title'] = _('title, author, theme/topic, epoch, kind, genre') + self.fields['q'].widget.attrs['style'] = 'float: left; width: 200px; border: medium none; height: 15px; margin-top: 2px;' self.fields['tags'].initial = '/'.join(tag.slug for tag in Tag.get_tag_list(tags)) @@ -71,6 +72,7 @@ FORMATS = ( ('pdf', 'PDF'), ('odt', 'ODT'), ('txt', 'TXT'), + ('epub', 'EPUB'), )