From 05ced0b2e9e31c04cb02f96147875ea55f44e574 Mon Sep 17 00:00:00 2001 From: Talitha Pumar Date: Wed, 4 Apr 2018 12:18:18 -0300 Subject: [PATCH] Fix #1816 (#1825) --- sapl/materia/forms.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/sapl/materia/forms.py b/sapl/materia/forms.py index 7f9e8d114..42a0abcc0 100644 --- a/sapl/materia/forms.py +++ b/sapl/materia/forms.py @@ -1177,13 +1177,7 @@ class ProposicaoForm(forms.ModelForm): fields = [ to_column((Fieldset( - TipoProposicao._meta.verbose_name, Field('tipo')), 3)), - Fieldset(_('Vincular a Matéria Legislativa Existente'), - to_column(('tipo_materia', 4)), - to_column(('numero_materia', 4)), - to_column(('ano_materia', 4)) - ), - + TipoProposicao._meta.verbose_name, Field('tipo')), 12)), to_column( (Alert('teste', css_class="ementa_materia hidden alert-info", @@ -1199,6 +1193,12 @@ class ProposicaoForm(forms.ModelForm): fields.append(to_column(( 'texto_original', 7 if self.texto_articulado_proposicao else 12))) + fields.append(to_column((Fieldset(_('Outras informações - Vincular a Matéria Legislativa Existente'), + to_column(('tipo_materia', 12)), + to_column(('numero_materia', 6)), + to_column(('ano_materia', 6)) + ), 12)), + ) self.helper = FormHelper() self.helper.layout = SaplFormLayout(*fields)