Wierd fix - another Dummy form?
This commit is contained in:
parent
e5d792d8d3
commit
5744aa7dbb
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue