From fbbadf65ca7826bcb8ad46bb855b8eb55a5eee56 Mon Sep 17 00:00:00 2001 From: qw3rty Date: Tue, 15 Jun 2010 20:55:25 +0000 Subject: [PATCH 1/1] "Contact Us" requires an email address if the user is anonymous git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@426 0cfe37f9-358a-4d5e-be75-b63607b5c754 --- forum/forms/qanda.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/forum/forms/qanda.py b/forum/forms/qanda.py index a3c093c..d54eabb 100644 --- a/forum/forms/qanda.py +++ b/forum/forms/qanda.py @@ -136,7 +136,7 @@ class SummaryField(forms.CharField): class FeedbackForm(forms.Form): name = forms.CharField(label=_('Your name:'), required=False) - email = forms.EmailField(label=_('Email (not shared with anyone):'), required=False) + email = forms.EmailField(label=_('Email (not shared with anyone):'), required=True) message = forms.CharField(label=_('Your message:'), max_length=800,widget=forms.Textarea(attrs={'cols':60})) next = NextUrlField() -- 2.39.5