contacts: first name is not required (#10926)

This commit is contained in:
Thomas NOËL 2016-05-13 17:28:17 +02:00
parent f5627532c7
commit 55705bcf92
1 changed files with 1 additions and 3 deletions

View File

@ -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'}))