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