minor changes in the CHANGE process

This commit is contained in:
Benni Bärmann 2021-02-02 12:21:14 +01:00
parent b5b840d230
commit 3f92e323bf
2 changed files with 2 additions and 1 deletions

View File

@ -45,7 +45,7 @@
{% endif %}
</p>
</h2>
{% 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 }}<p>
{% endfor %}

View File

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