diff --git a/evapp/templates/evapp/employee_form.html b/evapp/templates/evapp/employee_form.html index 8f03661..6ec00b7 100644 --- a/evapp/templates/evapp/employee_form.html +++ b/evapp/templates/evapp/employee_form.html @@ -45,7 +45,7 @@ {% endif %}
- {% if wizard.steps.step1 == 5 or choice == 'CHANGE' %} + {% if wizard.steps.step1 == 5 or choice == 'CHANGE' and wizards.steps.step1 == 3 %} {% for key, value in data.items %} {{ key }}: {{ value }}{% endfor %} diff --git a/evapp/views.py b/evapp/views.py index 7fe8fbb..08643d5 100644 --- a/evapp/views.py +++ b/evapp/views.py @@ -74,6 +74,7 @@ class EvaFormView(CookieWizardView): if choice == 'CHANGE': print("process choosen: CHANGE") form = ChangeForm(data) + # self.form_list = [PersonalForm, ChangeForm, DummyForm,] elif choice == 'OUT': print("process choosen: OUT") form = WorkingForm(data)