diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2017-03-09 17:45:09 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2017-03-09 17:45:09 +0100 |
commit | 0fae504286c1bbe7349c6c713a912f669a02e9a7 (patch) | |
tree | d2741b4c416eef3b7d590ff00507cb6805dfba0e /ishtar_common/forms_common.py | |
parent | 94ad639d7becf0885ffbcf522301fb991b28869c (diff) | |
download | Ishtar-0fae504286c1bbe7349c6c713a912f669a02e9a7.tar.bz2 Ishtar-0fae504286c1bbe7349c6c713a912f669a02e9a7.zip |
Person form: title is not required anymore (refs #3510)
Diffstat (limited to 'ishtar_common/forms_common.py')
-rw-r--r-- | ishtar_common/forms_common.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ishtar_common/forms_common.py b/ishtar_common/forms_common.py index e2c0e5db5..0ce87025c 100644 --- a/ishtar_common/forms_common.py +++ b/ishtar_common/forms_common.py @@ -370,7 +370,7 @@ class SimplePersonForm(ManageOldType, NewItemForm): form_label = _("Identity") associated_models = {'attached_to': models.Organization, 'title': models.TitleType} - title = forms.ChoiceField(label=_("Title"), choices=[]) + title = forms.ChoiceField(label=_("Title"), choices=[], required=False) salutation = forms.CharField(label=_("Salutation"), max_length=200, required=False) surname = forms.CharField(label=_(u"Surname"), max_length=50, |