summaryrefslogtreecommitdiff
path: root/ishtar_common/views.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2025-03-12 12:12:00 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2025-03-13 15:48:10 +0100
commitb4e0bc6502030f5ea91235ea501056b400f41e1d (patch)
tree10c1c9a5a69e04512cefd02d80f406e38d36573d /ishtar_common/views.py
parentd2c9fab7e330f3c5db660ee65af8db5c9d41370b (diff)
downloadIshtar-b4e0bc6502030f5ea91235ea501056b400f41e1d.tar.bz2
Ishtar-b4e0bc6502030f5ea91235ea501056b400f41e1d.zip
🩹 simplify person wizard - put person types on main form
Diffstat (limited to 'ishtar_common/views.py')
-rw-r--r--ishtar_common/views.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/ishtar_common/views.py b/ishtar_common/views.py
index 69e93a24f..4c83fd818 100644
--- a/ishtar_common/views.py
+++ b/ishtar_common/views.py
@@ -359,8 +359,7 @@ person_search_wizard = wizards.PersonSearch.as_view(
person_creation_wizard = wizards.PersonWizard.as_view(
[
- ("identity-person_creation", forms.SimplePersonForm),
- ("person_type-person_creation", forms.PersonTypeForm),
+ ("identity-person_creation", forms.PersonForm),
("final-person_creation", FinalForm),
],
label=_("New person"),
@@ -370,8 +369,7 @@ person_creation_wizard = wizards.PersonWizard.as_view(
person_modification_wizard = wizards.PersonModifWizard.as_view(
[
("selec-person_modification", forms.PersonFormSelection),
- ("identity-person_modification", forms.SimplePersonForm),
- ("person_type-person_creation", forms.PersonTypeForm),
+ ("identity-person_modification", forms.PersonForm),
("final-person_modification", FinalForm),
],
label=_("Person modification"),