Wierd fix - another Dummy form?

This commit is contained in:
Julian Hahn 2026-03-03 16:16:34 +01:00
parent e5d792d8d3
commit 5744aa7dbb
1 changed files with 2 additions and 2 deletions

View File

@ -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