X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/dbf3690fd7b8d30f603f3ef333290c22f4e5d63f..0f68e6fc21bd981cf57b263e94d92b712fc84e63:/apps/wiki/forms.py?ds=sidebyside 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():