From baf73923f82030c50e32ad57d276dc1f956e38ad Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Mon, 17 Sep 2018 11:45:15 +0200 Subject: Account wizard: add multiple profile - do not add a deleted profile --- ishtar_common/forms_common.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'ishtar_common/forms_common.py') diff --git a/ishtar_common/forms_common.py b/ishtar_common/forms_common.py index 99ad857b3..26c463189 100644 --- a/ishtar_common/forms_common.py +++ b/ishtar_common/forms_common.py @@ -781,8 +781,7 @@ class ProfileForm(ManageOldType): 'profile_type': models.ProfileType, 'area': models.Area } - profile_type = forms.ChoiceField(label=_(u"Type"), choices=[], - required=False) + profile_type = forms.ChoiceField(label=_(u"Type"), choices=[]) area = widgets.Select2MultipleField(label=_(u"Areas"), required=False) name = forms.CharField(label=_(u"Name"), required=False) pk = forms.IntegerField(label=" ", widget=forms.HiddenInput, required=False) -- cgit v1.2.3