summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas NOEL <tnoel@entrouvert.com>2016-05-13 15:28:17 (GMT)
committerThomas NOEL <tnoel@entrouvert.com>2016-05-13 15:28:17 (GMT)
commit55705bcf92da9184fb20404c6fa6a5876f211c52 (patch)
treea49568de8a31b982ba4eaa56e1a3507f24a90fdf
parentf5627532c7a0b17d94dd3ec8738f554ccd29f8ff (diff)
downloadwelco-55705bcf92da9184fb20404c6fa6a5876f211c52.zip
welco-55705bcf92da9184fb20404c6fa6a5876f211c52.tar.gz
welco-55705bcf92da9184fb20404c6fa6a5876f211c52.tar.bz2
contacts: first name is not required (#10926)
-rw-r--r--welco/contacts/forms.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/welco/contacts/forms.py b/welco/contacts/forms.py
index 98efca3..a903201 100644
--- a/welco/contacts/forms.py
+++ b/welco/contacts/forms.py
@@ -28,9 +28,7 @@ class ContactAddForm(forms.Form):
title = forms.CharField(label=_('Title'),
required=False,
widget=forms.Select(choices=DEFAULT_TITLE_CHOICES))
- first_name = forms.CharField(label=_('First Name'),
- required=True,
- widget=forms.TextInput(attrs={'required': 'required'}))
+ first_name = forms.CharField(label=_('First Name'), required=False)
last_name = forms.CharField(label=_('Last Name'),
required=True,
widget=forms.TextInput(attrs={'required': 'required'}))