Browse Source

Monta layout para autor

pull/440/head
Eduardo Edson Batista Cordeiro Alves 9 years ago
parent
commit
9575d90c46
  1. 4
      materia/forms.py

4
materia/forms.py

@ -131,6 +131,10 @@ class DocumentoAcessorioForm(ModelForm):
if autor_field:
return str(Autor.objects.get(id=autor_field))
def __init__(self, *args, **kwargs):
super(DocumentoAcessorioForm, self).__init__(*args, **kwargs)
self.helper = FormHelper()
class RelatoriaForm(ModelForm):

Loading…
Cancel
Save