aboutsummaryrefslogtreecommitdiffstats
path: root/alphabetlearning/pages
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2024-12-09 17:38:19 +0000
committerMatthew Lemon <y@yulqen.org>2024-12-09 17:38:19 +0000
commitb896eb2fcfe34667c5ff7d5e0783fe6b2080ae50 (patch)
treedc68fd932191ef01429d8ddbeef11a1bbae9f949 /alphabetlearning/pages
parentb481069d9444cc0756bd9f6780e7700dcf4903f5 (diff)
Adds v3 reCAPCHA to the field
Diffstat (limited to 'alphabetlearning/pages')
-rw-r--r--alphabetlearning/pages/views.py8
1 files changed, 8 insertions, 0 deletions
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