summaryrefslogtreecommitdiff
path: root/ishtar_common/wizards.py
diff options
context:
space:
mode:
authorroot <root@viserion.(none)>2013-04-16 23:21:36 +0000
committerroot <root@viserion.(none)>2013-04-16 23:21:36 +0000
commit81c29e5a74a709be1ca25bc7f04750d66ca9cf94 (patch)
tree244d8f3a583d5f0a95b94f269641c6ad38e3c031 /ishtar_common/wizards.py
parent12e8e49fceaf0e0afae1032f2c95cd92f2d22d4d (diff)
parent6695d8c362bc7632cb7f851255759dece9c37fb2 (diff)
downloadIshtar-81c29e5a74a709be1ca25bc7f04750d66ca9cf94.tar.bz2
Ishtar-81c29e5a74a709be1ca25bc7f04750d66ca9cf94.zip
Merge branch 'master' of lysithea.proxience.net:/home/proxience/git/ishtar
Diffstat (limited to 'ishtar_common/wizards.py')
-rw-r--r--ishtar_common/wizards.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/ishtar_common/wizards.py b/ishtar_common/wizards.py
index 699c3a858..df7eaaac1 100644
--- a/ishtar_common/wizards.py
+++ b/ishtar_common/wizards.py
@@ -688,6 +688,14 @@ class SearchWizard(NamedUrlWizardView):
templates = ['ishtar/wizard/search.html']
return templates
+ def get_context_data(self, form, **kwargs):
+ context = super(SearchWizard, self).get_context_data(form)
+ self.request.session['CURRENT_ACTION'] = self.get_wizard_name()
+ current_step = self.steps.current
+ context.update({'current_step':self.form_list[current_step],
+ 'wizard_label':self.label})
+ return context
+
class DeletionWizard(Wizard):
def get_formated_datas(self, forms):
datas = super(DeletionWizard, self).get_formated_datas(forms)