diff --git a/sigi/apps/diagnosticos/forms.py b/sigi/apps/diagnosticos/forms.py index 65f728a..c7de695 100644 --- a/sigi/apps/diagnosticos/forms.py +++ b/sigi/apps/diagnosticos/forms.py @@ -19,7 +19,13 @@ class DiagnosticoForm(BaseDynamicEntityForm): vinculando ao modelo Diagnostico """ model = Diagnostico - + + def __init__(self, *args, **kwargs): + super(DiagnosticoForm, self).__init__(*args, **kwargs) + + for k, f in self.fields.iteritems(): + if isinstance(f, CharField): + f.widget = forms.widgets.Textarea(attrs={'cols':'80'}) class DiagnosticoMobileForm(BaseDynamicEntityForm): """Classe responsável por construir o formulário