summaryrefslogtreecommitdiff
path: root/ishtar_common
diff options
context:
space:
mode:
Diffstat (limited to 'ishtar_common')
-rw-r--r--ishtar_common/models.py4
-rw-r--r--ishtar_common/views.py6
2 files changed, 7 insertions, 3 deletions
diff --git a/ishtar_common/models.py b/ishtar_common/models.py
index b06b927ba..af7908b53 100644
--- a/ishtar_common/models.py
+++ b/ishtar_common/models.py
@@ -2921,8 +2921,8 @@ class Person(Address, Merge, OwnPerms, ValueGetter, MainItem):
(
reverse("account_creation", args=[self.pk]),
_("Create new account"),
- "fa fa-pencil",
- _("Compte"),
+ "fa fa-user",
+ "",
"",
False,
),
diff --git a/ishtar_common/views.py b/ishtar_common/views.py
index fb51445f2..ee7fc1ee7 100644
--- a/ishtar_common/views.py
+++ b/ishtar_common/views.py
@@ -308,7 +308,11 @@ account_management_wizard = wizards.AccountWizard.as_view(
)
account_creation_wizard = wizards.AccountWizard.as_view(
- account_wizard_steps,
+ [
+ ("account-account_management", forms.AccountForm),
+ ("profile-account_management", forms.ProfileFormset),
+ ("final-account_management", forms.FinalAccountForm),
+ ],
label=_("Account creation"),
url_name="account_creation",
)