diff options
author | Étienne Loks <etienne.loks@proxience.com> | 2015-12-18 18:46:44 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@proxience.com> | 2015-12-18 18:46:44 +0100 |
commit | ab191a5873011db4b44adf6d4e532681c29b4cb3 (patch) | |
tree | 724c59996e20f35033254a453135fb7b1fd873d0 /archaeological_operations/wizards.py | |
parent | 2cdd0113bef60cefabd09fb41123d0add9f1137d (diff) | |
download | Ishtar-ab191a5873011db4b44adf6d4e532681c29b4cb3.tar.bz2 Ishtar-ab191a5873011db4b44adf6d4e532681c29b4cb3.zip |
Operation wizard: improve relations layout (form and summary)
Diffstat (limited to 'archaeological_operations/wizards.py')
-rw-r--r-- | archaeological_operations/wizards.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/archaeological_operations/wizards.py b/archaeological_operations/wizards.py index 78a5c3350..2e7b3c4b4 100644 --- a/archaeological_operations/wizards.py +++ b/archaeological_operations/wizards.py @@ -40,6 +40,7 @@ class OperationWizard(Wizard): model = models.Operation object_parcel_type = 'operation' parcel_step_key = 'parcels' + relations_step_key = 'relations' # step contening the current(s) town(s) town_step_keys = ['towns-', 'townsgeneral-'] town_input_id = 'town' # input id of the current(s) town(s) @@ -52,6 +53,8 @@ class OperationWizard(Wizard): current_step = self.steps.current if current_step.startswith(self.parcel_step_key): templates = ['ishtar/wizard/parcels_wizard.html'] + templates + elif current_step.startswith(self.relations_step_key): + templates = ['ishtar/wizard/relations_wizard.html'] + templates return templates def get_current_file(self): |