From 83fe2a8e363f2b9f3ece27227b8194bafadfe47f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Aleksander=20=C5=81ukasz?= Date: Wed, 2 Apr 2014 12:42:01 +0200 Subject: [PATCH] Make comments for save and revert operations optional --- apps/wiki/forms.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/wiki/forms.py b/apps/wiki/forms.py index 3ef3ed14..137b072f 100644 --- a/apps/wiki/forms.py +++ b/apps/wiki/forms.py @@ -46,7 +46,7 @@ class DocumentTextSaveForm(forms.Form): ) comment = forms.CharField( - required=True, + required=False, widget=forms.Textarea, label=_(u"Your comments"), help_text=_(u"Describe changes you made."), @@ -97,7 +97,7 @@ class DocumentTextRevertForm(forms.Form): ) comment = forms.CharField( - required=True, + required=False, widget=forms.Textarea, label=_(u"Your comments"), help_text=_(u"Describe the reason for reverting."), -- 2.20.1