diff options
| author | Étienne Loks <etienne.loks@iggdrasil.net> | 2017-06-14 00:13:06 +0200 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2017-06-14 00:13:06 +0200 |
| commit | ee8ac4b2737d009d858360395b32b8277d4c6c3b (patch) | |
| tree | 7c63d3f2e21b29c79d4c2dc6bedf91f8a64618b4 /archaeological_context_records/views.py | |
| parent | 9f7e16bc051d7ae8967520c6a4ccaed00ae9cb4c (diff) | |
| parent | 9fe30e305e1a114277e8473df415588bfacd188d (diff) | |
| download | Ishtar-ee8ac4b2737d009d858360395b32b8277d4c6c3b.tar.bz2 Ishtar-ee8ac4b2737d009d858360395b32b8277d4c6c3b.zip | |
Merge branch 'v0.9' into wheezy
Diffstat (limited to 'archaeological_context_records/views.py')
| -rw-r--r-- | archaeological_context_records/views.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/archaeological_context_records/views.py b/archaeological_context_records/views.py index cf3a13b3b..250fdafc0 100644 --- a/archaeological_context_records/views.py +++ b/archaeological_context_records/views.py @@ -92,13 +92,16 @@ record_search_wizard = SearchWizard.as_view([ label=_(u"Context record search"), url_name='record_search',) -record_creation_wizard = RecordWizard.as_view([ +record_creation_steps = [ ('selec-record_creation', OperationRecordFormSelection), ('general-record_creation', RecordFormGeneral), ('datings-record_creation', DatingFormSet), ('interpretation-record_creation', RecordFormInterpretation), ('relations-record_creation', RecordRelationsFormSet), - ('final-record_creation', FinalForm)], + ('final-record_creation', FinalForm) +] + +record_creation_wizard = RecordWizard.as_view(record_creation_steps, label=_(u"New context record"), url_name='record_creation',) |
