aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/register/views.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--ctrack/register/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ctrack/register/views.py b/ctrack/register/views.py
index 0ab71c3..07673b9 100644
--- a/ctrack/register/views.py
+++ b/ctrack/register/views.py
@@ -84,11 +84,11 @@ class SingleDateTimeEventCreate(FormView):
return context
return context
-
def get_form_kwargs(self):
kwargs = super().get_form_kwargs()
kwargs["user"] = self.request.user
kwargs["org_slug"] = self.kwargs.get("org_slug")
+ kwargs["event_type"] = self.kwargs.get("event_type")
return kwargs
def form_valid(self, form):