@login_required
def email_login(request):
 if (request.method == u'POST'):
  form = EmailForm(request.POST)
  if form.is_valid():
   return complete(request, u'email')
 else:
  form = EmailForm()
 return render(request, u'accounts/email.html', {u'title': _(u'Register email'), u'form': form})

@ login_required def email_login ( request ) : if ( request . method == u'POST' ) : form = EmailForm ( request . POST ) if form . is_valid ( ) : return complete ( request , u'email' ) else : form = EmailForm ( ) return render ( request , u'accounts/email.html' , { u'title' : _ ( u'Register email' ) , u'form' : form } )
connect email .