From 5744aa7dbb63045ce0b3954fb2afdf4e11c27703 Mon Sep 17 00:00:00 2001 From: Julian Hahn Date: Tue, 3 Mar 2026 16:16:34 +0100 Subject: [PATCH] Wierd fix - another Dummy form? --- austritt/views.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/austritt/views.py b/austritt/views.py index 1b533b6..d6699a7 100644 --- a/austritt/views.py +++ b/austritt/views.py @@ -46,7 +46,7 @@ def change_process(wizard): class EvaFormView(LoginRequiredMixin, CookieWizardView): template_name = 'austritt/employee_form.html' - form_list = [PersonalForm, HRForm, ITForm, RestForm, DummyForm] + form_list = [PersonalForm, HRForm, ITForm, RestForm, DummyForm, DummyForm] instance = None choice = 'IN' @@ -89,7 +89,7 @@ class EvaFormView(LoginRequiredMixin, CookieWizardView): 'TESTMODE': testmode}) # deliver context for forms if we are in the last step - if (self.steps.step1 == 4 or (self.choice != 'IN' and self.steps.step1 == 4)): + if (self.steps.step1 == 5 or (self.choice != 'IN' and self.steps.step1 == 5)): context.update({'data': self.beautify_data(self.get_all_cleaned_data()), 'datatable': True,}) return context