X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/dbf3690fd7b8d30f603f3ef333290c22f4e5d63f..1ca6d764bb26082e103bfa81e586de5ee43eef02:/apps/wiki/forms.py?ds=inline diff --git a/apps/wiki/forms.py b/apps/wiki/forms.py index 08e5aea4..772e0be6 100644 --- a/apps/wiki/forms.py +++ b/apps/wiki/forms.py @@ -77,6 +77,7 @@ class DocumentTextSaveForm(forms.Form): self.fields['author_name'].required = False self.fields['author_email'].required = False self.fields['for_cybernauts'].initial = self.chunk.book.for_cybernauts + self.fields['publishable'].initial = self.chunk.head.publishable def save(self): if self.user.is_authenticated():