From 2766c18cb2eb6303f7c96ac0444c0382dda6f46e Mon Sep 17 00:00:00 2001 From: Eduardo Edson Batista Cordeiro Alves Date: Tue, 10 May 2016 12:52:20 -0300 Subject: [PATCH] =?UTF-8?q?Remove=20c=C3=B3digo=20desnecess=C3=A1rio?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/materia/proposicao_detail.html | 48 ++++++------------------ 1 file changed, 11 insertions(+), 37 deletions(-) diff --git a/templates/materia/proposicao_detail.html b/templates/materia/proposicao_detail.html index 7d506e05d..25834b48d 100644 --- a/templates/materia/proposicao_detail.html +++ b/templates/materia/proposicao_detail.html @@ -1,40 +1,14 @@ -{% extends "base.html" %} +{% extends "crud/detail.html" %} {% load i18n %} -{% block base_content %} - -
- {% block actions %} - - {% endblock actions %} +{% block actions %} + - - {% block detail_content %} - {% for fieldset in view.layout_display %} -

{{ fieldset.legend }}

- {% for row in fieldset.rows %} -
- {% for column in row %} -
-
-

{{ column.verbose_name }}

-
-

{{ column.text|safe }}

-
-
-
- {% endfor %} -
- {% endfor %} - {% endfor %} - {% endblock detail_content %} - -{% endblock base_content %} +{% endblock actions %}