From b896eb2fcfe34667c5ff7d5e0783fe6b2080ae50 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Mon, 9 Dec 2024 17:38:19 +0000 Subject: Adds v3 reCAPCHA to the field --- alphabetlearning/pages/views.py | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'alphabetlearning/pages/views.py') diff --git a/alphabetlearning/pages/views.py b/alphabetlearning/pages/views.py index 81d4392..c4a4017 100644 --- a/alphabetlearning/pages/views.py +++ b/alphabetlearning/pages/views.py @@ -1,5 +1,13 @@ from django.views.generic import TemplateView +from alphabetlearning.payments.views import EmailVerificationForm + class HomePageView(TemplateView): template_name = "pages/home.html" + + def get_context_data(self, **kwargs): + kwargs.setdefault("view", self) + form = EmailVerificationForm() + kwargs.update({"form": form}) + return kwargs -- cgit v1.2.3