X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/5c0ed2a6cb007fccf2cc4b58199f285707f7e974..119bbb84ddb0e54bb3ffadda2df1920f45655ad5:/src/documents/forms.py?ds=sidebyside diff --git a/src/documents/forms.py b/src/documents/forms.py index bb064eec..6598e75c 100644 --- a/src/documents/forms.py +++ b/src/documents/forms.py @@ -3,7 +3,7 @@ # from django.db.models import Count from django import forms -from django.utils.translation import ugettext_lazy as _ +from django.utils.translation import gettext_lazy as _ from django.conf import settings from slugify import slugify from .constants import MASTERS @@ -251,4 +251,5 @@ class MarkFinalForm(forms.Form): class PublishOptionsForm(forms.Form): days = forms.IntegerField(label=u'po ilu dniach udostępnienić (0 = od razu)', min_value=0, initial=0) + hidden = forms.BooleanField(label='tekst ukryty przed wyszukiwaniem', required=False, initial=False) beta = forms.BooleanField(label=u'Opublikuj na wersji testowej', required=False)