From 5dffcd2c70b82432da8cbe29045aa06c7ab016df Mon Sep 17 00:00:00 2001 From: Marcio Mazza Date: Fri, 24 Jul 2015 16:32:18 -0300 Subject: [PATCH] Remove unused code --- comissoes/forms.py | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100644 comissoes/forms.py diff --git a/comissoes/forms.py b/comissoes/forms.py deleted file mode 100644 index 14a300a15..000000000 --- a/comissoes/forms.py +++ /dev/null @@ -1,28 +0,0 @@ -from crispy_forms.helper import FormHelper -from django import forms -from django.utils.translation import ugettext as _ - -from comissoes.models import TipoComissao -from sapl.layout import SaplFormLayout - - -class TipoComissaoForm(forms.ModelForm): - - class Meta: - model = TipoComissao - exclude = [] - - def __init__(self, *args, **kwargs): - super(TipoComissaoForm, self).__init__(*args, **kwargs) - self.helper = FormHelper() - self.helper.layout = SaplFormLayout( - - [_('Tipo Comissão'), - [('nome', 3), - ('nome', 3), - ('sigla', 2), - ('dispositivo_regimental', 2), - ('natureza', 2)], - [('nome', 6), ('sigla', 6)], - [('dispositivo_regimental', 6), ('natureza', 6)]], - )