diff options
Diffstat (limited to 'ishtar_common/forms_common.py')
-rw-r--r-- | ishtar_common/forms_common.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ishtar_common/forms_common.py b/ishtar_common/forms_common.py index 6a8db2693..11649a078 100644 --- a/ishtar_common/forms_common.py +++ b/ishtar_common/forms_common.py @@ -1035,7 +1035,7 @@ class PersonSelect(CustomForm, TableSelect): title = forms.ChoiceField(label=_("Title"), choices=[]) salutation = forms.CharField(label=_("Salutation"), max_length=200) email = forms.CharField(label=_("Email"), max_length=75) - person_types = forms.ChoiceField(label=_("Type"), choices=[]) + person_types = forms.ChoiceField(label=_("Person type"), choices=[]) attached_to = forms.IntegerField( label=_("Organization"), widget=widgets.JQueryAutoComplete( @@ -1230,7 +1230,7 @@ class SimplePersonForm(ManageOldType, NewItemForm): class PersonUserSelect(PersonSelect): ishtaruser__isnull = forms.NullBooleanField(label=_("Already has an account")) profiles__profile_type = forms.ChoiceField(label=_("Profile type"), choices=[]) - TYPES = [ + TYPES = PersonSelect.TYPES + [ FieldType("profiles__profile_type", models.ProfileType), ] |