Make the LGTM field not required when publishing comments

We already default it to abstain if it was not supplied in the
form post data.  So there is no reason to require that the user
supply it to us.

Signed-off-by: Shawn O. Pearce <sop@google.com>
This commit is contained in:
Shawn O. Pearce
2008-10-24 11:32:21 -07:00
parent a9669638d6
commit 1ff5dfddbf

View File

@@ -1076,7 +1076,7 @@ class PublishCommentsForm(BaseForm):
max_length=10000,
widget=forms.Textarea(attrs={'cols': 60}))
lgtm = forms.CharField(label='Code review')
lgtm = forms.CharField(required=False, label='Code review')
verified = forms.BooleanField(required=False,
label='Verified')