]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/forms/auth.py
OSQA-748, smart unicode filtration for the username in the accept rate singular title
[osqa.git] / forum / forms / auth.py
index cb88ac252dbf2f3ede6f03ad559713f4a8d9405d..9bf2d671e40bbf7e2158e01145c2382066be73c2 100644 (file)
@@ -34,17 +34,6 @@ class TemporaryLoginRequestForm(forms.Form):
         self.user_cache = users
         return self.cleaned_data['email']
 
         self.user_cache = users
         return self.cleaned_data['email']
 
-
-class SimpleEmailSubscribeForm(forms.Form):
-    SIMPLE_SUBSCRIBE_CHOICES = (
-        ('y',_('okay, let\'s try!')),
-        ('n',_('no OSQA community email please, thanks'))
-    )
-    subscribe = forms.ChoiceField(widget=forms.widgets.RadioSelect(), \
-                                error_messages={'required':_('please choose one of the options above')},
-                                choices=SIMPLE_SUBSCRIBE_CHOICES)
-
-
 class ChangePasswordForm(SetPasswordForm):
     """ change password form """
     oldpw = forms.CharField(widget=forms.PasswordInput(attrs={'class':'required'}),
 class ChangePasswordForm(SetPasswordForm):
     """ change password form """
     oldpw = forms.CharField(widget=forms.PasswordInput(attrs={'class':'required'}),