From 1efdb1cd1caa20c79e58c0f302bdc205b584548a Mon Sep 17 00:00:00 2001 From: Mariana Mendes Date: Tue, 21 Aug 2018 13:06:52 -0300 Subject: [PATCH] fix #2155 (#2158) --- sapl/materia/forms.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sapl/materia/forms.py b/sapl/materia/forms.py index 88db58f8b..ff9b12d56 100644 --- a/sapl/materia/forms.py +++ b/sapl/materia/forms.py @@ -123,13 +123,14 @@ class MateriaSimplificadaForm(ModelForm): model = MateriaLegislativa fields = ['tipo', 'numero', 'ano', 'data_apresentacao', 'numero_protocolo', 'regime_tramitacao', - 'em_tramitacao', 'ementa', 'texto_original'] + 'em_tramitacao', 'ementa', 'tipo_apresentacao', + 'texto_original'] def __init__(self, *args, **kwargs): row1 = to_row([('tipo', 6), ('numero', 3), ('ano', 3)]) row2 = to_row([('data_apresentacao', 6), ('numero_protocolo', 6)]) - row3 = to_row([('regime_tramitacao', 6), ('em_tramitacao', 6)]) + row3 = to_row([('regime_tramitacao', 6), ('em_tramitacao', 3), ('tipo_apresentacao', 3)]) row4 = to_row([('ementa', 12)]) row5 = to_row([('texto_original', 12)])