Browse Source

Fix bug #107 (telefone e fax obrigatório)

pull/153/head
Edward Ribeiro 9 years ago
parent
commit
9fbc479eb8
  1. 8
      parlamentares/views.py

8
parlamentares/views.py

@ -248,12 +248,12 @@ class ParlamentaresForm (ModelForm):
attrs={'class': 'titulo_eleitor'}))
telefone = forms.CharField(label='Telefone',
required=True,
required=False,
widget=forms.TextInput(
attrs={'class': 'telefone'}))
fax = forms.CharField(label='Fax',
required=True,
required=False,
widget=forms.TextInput(
attrs={'class': 'telefone'}))
@ -263,12 +263,12 @@ class ParlamentaresForm (ModelForm):
attrs={'class': 'cep'}))
telefone_residencia = forms.CharField(label='Telefone',
required=True,
required=False,
widget=forms.TextInput(
attrs={'class': 'telefone'}))
fax_residencia = forms.CharField(label='Fax',
required=True,
required=False,
widget=forms.TextInput(
attrs={'class': 'telefone'}))

Loading…
Cancel
Save