X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/522d4762eb1aaba30d4de9275dbea9b83e3e7227..160b51ec288220f2e784b680c7854178d0818f87:/forum/forms/auth.py?ds=sidebyside diff --git a/forum/forms/auth.py b/forum/forms/auth.py index cb88ac2..9bf2d67 100644 --- a/forum/forms/auth.py +++ b/forum/forms/auth.py @@ -34,17 +34,6 @@ class TemporaryLoginRequestForm(forms.Form): 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'}),