summaryrefslogtreecommitdiff
path: root/ishtar/furnitures/forms.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@peacefrogs.net>2010-12-29 12:54:34 +0100
committerÉtienne Loks <etienne.loks@peacefrogs.net>2010-12-29 12:57:37 +0100
commit8c6aeb1609df5a56b68f2c57da6028e95f88e0ae (patch)
treee18f26c62e0e59ac925d4524e5be4e64da5eecf6 /ishtar/furnitures/forms.py
parentf1eca7a1eef6a2ff8bb87c4626001c231eb4c8fd (diff)
downloadIshtar-8c6aeb1609df5a56b68f2c57da6028e95f88e0ae.tar.bz2
Ishtar-8c6aeb1609df5a56b68f2c57da6028e95f88e0ae.zip
Remind of the current step in the wizard (closes #51)
Diffstat (limited to 'ishtar/furnitures/forms.py')
-rw-r--r--ishtar/furnitures/forms.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/ishtar/furnitures/forms.py b/ishtar/furnitures/forms.py
index 077964484..33a58cbfd 100644
--- a/ishtar/furnitures/forms.py
+++ b/ishtar/furnitures/forms.py
@@ -55,7 +55,8 @@ class FileWizard(SessionWizard):
previous_steps = []
for stp in self.base_steps:
if stp == step:
- return Context({'previous_steps':previous_steps})
+ return Context({'previous_steps':previous_steps,
+ 'current_step':stp})
previous_steps.append(stp)
return Context({'previous_steps':previous_steps})