From: qw3rty Date: Tue, 15 Jun 2010 20:55:25 +0000 (+0000) Subject: "Contact Us" requires an email address if the user is anonymous X-Git-Tag: live~706 X-Git-Url: https://git.openstreetmap.org./osqa.git/commitdiff_plain/fbbadf65ca7826bcb8ad46bb855b8eb55a5eee56?hp=01d85bb9f642d77bef6f6961c8da0f0dee24789d "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 --- 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()