summaryrefslogtreecommitdiff
path: root/archaeological_operations/wizards.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@peacefrogs.net>2013-04-04 20:49:29 +0200
committerÉtienne Loks <etienne.loks@peacefrogs.net>2013-04-04 20:49:29 +0200
commitc5e94062adefdd8cb0aeb730830921d5d546a86b (patch)
tree673bfb7389360f360ddaafcfe1a4d133d67f4c36 /archaeological_operations/wizards.py
parente121fde541630e72888a3314f50c3ac0fb88186d (diff)
downloadIshtar-c5e94062adefdd8cb0aeb730830921d5d546a86b.tar.bz2
Ishtar-c5e94062adefdd8cb0aeb730830921d5d546a86b.zip
Inline formset to manage parcels
Diffstat (limited to 'archaeological_operations/wizards.py')
-rw-r--r--archaeological_operations/wizards.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/archaeological_operations/wizards.py b/archaeological_operations/wizards.py
index 3281a5723..2b13e3353 100644
--- a/archaeological_operations/wizards.py
+++ b/archaeological_operations/wizards.py
@@ -34,9 +34,12 @@ class OperationWizard(Wizard):
def get_template_names(self):
templates = super(OperationWizard, self).get_template_names()
- current_step = self.steps. current
+ current_step = self.steps.current
if current_step.startswith('towns-'):
templates = ['ishtar/wizard/towns_wizard.html'] + templates
+ if current_step.startswith('parcels-') or \
+ current_step.startswith('parcelsgeneral-') :
+ templates = ['ishtar/wizard/parcels_wizard.html'] + templates
return templates
def get_context_data(self, form, **kwargs):