diff --git a/parlamentares/views.py b/parlamentares/views.py index de8419874..bbc39c727 100644 --- a/parlamentares/views.py +++ b/parlamentares/views.py @@ -232,6 +232,46 @@ class ParlamentaresForm (ModelForm): ) ) + cpf = forms.CharField(label='C.P.F', + required=False, + widget=forms.TextInput( + attrs={'class': 'cpf'})) + + rg = forms.CharField(label='R.G.', + required=False, + widget=forms.TextInput( + attrs={'class': 'rg'})) + + titulo_eleitor = forms.CharField(label='Título de Eleitor', + required=False, + widget=forms.TextInput( + attrs={'class': 'titulo_eleitor'})) + + telefone = forms.CharField(label='Telefone', + required=True, + widget=forms.TextInput( + attrs={'class': 'telefone'})) + + fax = forms.CharField(label='Fax', + required=True, + widget=forms.TextInput( + attrs={'class': 'telefone'})) + + cep_residencia = forms.CharField(label='CEP', + required=True, + widget=forms.TextInput( + attrs={'class': 'cep'})) + + telefone_residencia = forms.CharField(label='Telefone', + required=True, + widget=forms.TextInput( + attrs={'class': 'telefone'})) + + fax_residencia = forms.CharField(label='Fax', + required=True, + widget=forms.TextInput( + attrs={'class': 'telefone'})) + class Meta: model = Parlamentar fields = ['nome_parlamentar', diff --git a/sessao/views.py b/sessao/views.py index 0774afe2d..0193d31a1 100644 --- a/sessao/views.py +++ b/sessao/views.py @@ -2334,6 +2334,16 @@ class PautaSessaoDetailView(sessao_crud.CrudDetailView): class SessaoForm(ModelForm): + hora_inicio = forms.CharField(label='Horário Inicio', + required=True, + widget=forms.TextInput( + attrs={'class': 'hora'})) + + hora_fim = forms.CharField(label='Horário Fim', + required=True, + widget=forms.TextInput( + attrs={'class': 'hora'})) + class Meta: model = SessaoPlenaria fields = ['numero',