diff --git a/base/forms.py b/base/forms.py index 8e3cec9bb..798b40e11 100644 --- a/base/forms.py +++ b/base/forms.py @@ -36,6 +36,7 @@ class CasaLegislativaTabelaAuxForm(ModelForm): 'cep': forms.TextInput(attrs={'class': 'cep'}), 'telefone': forms.TextInput(attrs={'class': 'telefone'}), 'fax': forms.TextInput(attrs={'class': 'telefone'}), + 'logotipo': forms.FileInput, 'informacao_geral': forms.Textarea( attrs={'id': 'casa-informacoes'}) } @@ -87,16 +88,18 @@ class CasaLegislativaTabelaAuxForm(ModelForm): row3, row4, row5, - HTML("""{% if form.logotipo.value %} + HTML("""