From 38b9c844d858f2541468343769360be18d931522 Mon Sep 17 00:00:00 2001 From: Eduardo Edson Batista Cordeiro Alves Date: Wed, 9 Nov 2016 15:09:04 -0200 Subject: [PATCH] Diminui layout --- sapl/norma/forms.py | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/sapl/norma/forms.py b/sapl/norma/forms.py index 5d57f6620..7ae6b85ba 100644 --- a/sapl/norma/forms.py +++ b/sapl/norma/forms.py @@ -57,18 +57,16 @@ class NormaFilterSet(django_filters.FilterSet): def __init__(self, *args, **kwargs): super(NormaFilterSet, self).__init__(*args, **kwargs) - row1 = to_row([('tipo', 12)]) - row2 = to_row([('numero', 6), ('ano', 6)]) + row1 = to_row([('tipo', 4), ('numero', 4), ('ano', 4)]) + row2 = to_row([('data', 6), ('data_publicacao', 6)]) row3 = to_row([('ementa', 12)]) - row4 = to_row([('data', 6), ('data_publicacao', 6)]) - row5 = to_row([('assuntos', 12)]) - + row4 = to_row([('assuntos', 12)]) self.form.helper = FormHelper() self.form.helper.form_method = 'GET' self.form.helper.layout = Layout( Fieldset(_('Pesquisa de Norma'), - row1, row2, row3, row4, row5, + row1, row2, row3, row4, form_actions(save_label='Pesquisar')) )