Projet

Général

Profil

0001-contacts-first-name-is-not-required-10926.patch

Thomas Noël, 13 mai 2016 17:29

Télécharger (1,01 ko)

Voir les différences:

Subject: [PATCH] contacts: first name is not required (#10926)

 welco/contacts/forms.py | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
welco/contacts/forms.py
28 28
    title = forms.CharField(label=_('Title'),
29 29
            required=False,
30 30
            widget=forms.Select(choices=DEFAULT_TITLE_CHOICES))
31
    first_name = forms.CharField(label=_('First Name'),
32
            required=True,
33
            widget=forms.TextInput(attrs={'required': 'required'}))
31
    first_name = forms.CharField(label=_('First Name'), required=False)
34 32
    last_name = forms.CharField(label=_('Last Name'),
35 33
            required=True,
36 34
            widget=forms.TextInput(attrs={'required': 'required'}))
37
-