from portal.models import PendingUser,PendingAuthority
from portal.actions import authority_get_pi_emails, manifold_add_user,manifold_add_account
+from theme import ThemeView
+
# since we inherit from FreeAccessView we cannot redefine 'dispatch'
# so let's override 'get' and 'post' instead
#
-class JoinView (FreeAccessView):
+class JoinView (FreeAccessView, ThemeView):
def post (self, request):
return self.get_or_post (request, 'POST')
'root_authority_hrn': request.POST.get('root_authority_hrn', '').lower(),
'root_authorities': root_authorities,
'authorities': authorities,
+ 'theme': self.theme
}
template_env.update(page.prelude_env ())
return render(request, 'join_view.html',template_env)