X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/74dca79d402e43baaa69b760698429f223f98e3c..3c7b27992f89ce11dfe8c2576c6f82f182e771d2:/apps/explorer/forms.py?ds=sidebyside diff --git a/apps/explorer/forms.py b/apps/explorer/forms.py index e648aa5f..f7fcf07e 100644 --- a/apps/explorer/forms.py +++ b/apps/explorer/forms.py @@ -5,11 +5,9 @@ from librarian import dcparser from explorer import models - class BookForm(forms.Form): - text = forms.CharField(widget=forms.Textarea) - commit_message = forms.CharField() - user = forms.CharField() + content = forms.CharField(widget=forms.Textarea) + message = forms.CharField(required=False) class ImageFoldersForm(forms.Form): folders = forms.ChoiceField(required=False)