X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/f714cce8fd2f04693a118b05c0f9432a70d1bef7..77effa3964014b07dbdf73a9e67eb0b20749d50b:/catalogue/forms.py?ds=sidebyside diff --git a/catalogue/forms.py b/catalogue/forms.py index 1c6ca83cd..583c9aed7 100644 --- a/catalogue/forms.py +++ b/catalogue/forms.py @@ -29,7 +29,7 @@ class BookSetsForm(forms.Form): def __init__(self, book, user, *args, **kwargs): super(BookSetsForm, self).__init__(*args, **kwargs) self.fields['set_ids'] = forms.MultipleChoiceField( - label=u'Zestawy', + label=u'Półki', required=False, choices=[(tag.id, tag.name) for tag in Tag.objects.filter(category='set', user=user)], initial=[tag.id for tag in book.tags.filter(category='set', user=user)],