From 6a4032849fd94a071270c45433a56d0f52a5f929 Mon Sep 17 00:00:00 2001 From: Eduardo Edson Batista Cordeiro Alves Date: Thu, 28 Apr 2016 12:14:36 -0300 Subject: [PATCH] =?UTF-8?q?Init=20crud=20legisla=C3=A7=C3=A3o=20citada?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- materia/layouts.yaml | 7 +++++++ materia/views.py | 1 - 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/materia/layouts.yaml b/materia/layouts.yaml index cafaeb94f..82c2303c7 100644 --- a/materia/layouts.yaml +++ b/materia/layouts.yaml @@ -115,3 +115,10 @@ Tramitacao: DespachoInicial: Despacho Inicial: - comissao + +LegislacaoCitadaDetail: + Legislação Citada: + - norma + - disposicoes parte livro titulo + - capitulo secao subsecao artigo + - paragrafo inciso alinea item diff --git a/materia/views.py b/materia/views.py index 4a423ea2c..68f4566a6 100644 --- a/materia/views.py +++ b/materia/views.py @@ -104,7 +104,6 @@ class LegislacaoCitadaCrud(MasterDetailCrud): self.initial['tipo'] = self.object.norma.tipo.id self.initial['numero'] = self.object.norma.numero self.initial['ano'] = self.object.norma.ano - return self.initial class DetailView(MasterDetailCrud.DetailView):