]> git.openstreetmap.org Git - osqa.git/commitdiff
"Contact Us" requires an email address if the user is anonymous
authorqw3rty <qw3rty@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Tue, 15 Jun 2010 20:55:25 +0000 (20:55 +0000)
committerqw3rty <qw3rty@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Tue, 15 Jun 2010 20:55:25 +0000 (20:55 +0000)
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@426 0cfe37f9-358a-4d5e-be75-b63607b5c754

forum/forms/qanda.py

index a3c093c586f4556c904ab8ae4a805c02430bfcdb..d54eabb7cdeed00baf2e9490378170ed62deff00 100644 (file)
@@ -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()