summaryrefslogtreecommitdiff
path: root/ishtar_common/forms_common.py
diff options
context:
space:
mode:
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
commit0fae504286c1bbe7349c6c713a912f669a02e9a7 (patch)
treed2741b4c416eef3b7d590ff00507cb6805dfba0e /ishtar_common/forms_common.py
parent94ad639d7becf0885ffbcf522301fb991b28869c (diff)
downloadIshtar-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.py2
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,