diff --git a/templates/compilacao/index.html b/templates/compilacao/index.html
index 3e7c099a9..d694f657a 100644
--- a/templates/compilacao/index.html
+++ b/templates/compilacao/index.html
@@ -3,47 +3,51 @@
{% load compilacao_filters %}
{% block title%}
-
{{ view.get_norma }}
+
{{ view.get_norma }}
{% endblock %}
{% block base_content %}
-
+
+
+
+
{% for key, values in view.get_vigencias.items %}
{% if forloop.first %}
@@ -96,6 +100,8 @@ function textoVigente(item, link) {
{%endif%}
-{% include 'compilacao/template_render_bloco.html'%}
+
+
+{% include 'compilacao/index_bloco.html'%}
{% endblock base_content %}
\ No newline at end of file
diff --git a/templates/compilacao/template_render_bloco.html b/templates/compilacao/index_bloco.html
similarity index 52%
rename from templates/compilacao/template_render_bloco.html
rename to templates/compilacao/index_bloco.html
index accf8086b..0f5297575 100644
--- a/templates/compilacao/template_render_bloco.html
+++ b/templates/compilacao/index_bloco.html
@@ -1,21 +1,16 @@
{% load i18n %}
{% load compilacao_filters %}
-{% for dispositivo in view.get_queryset %}
+{% for dispositivo in object_list %}
{% if dispositivo.nivel == view.flag_nivel_old %}
{% elif dispositivo.nivel < view.flag_nivel_old %}
- {% close_div view.flag_nivel_old dispositivo.nivel %}
+ {% close_div view.flag_nivel_old dispositivo.nivel 0 %}
{% endif%}
-