diff --git a/sapl/materia/views.py b/sapl/materia/views.py index 35f60d255..1f73e3739 100644 --- a/sapl/materia/views.py +++ b/sapl/materia/views.py @@ -1384,7 +1384,6 @@ class AcompanhamentoMateriaView(CreateView): materia = MateriaLegislativa.objects.get(id=pk) if form.is_valid(): - email = form.cleaned_data['email'] usuario = request.user diff --git a/sapl/templates/materia/materialegislativa_filter.html b/sapl/templates/materia/materialegislativa_filter.html index 2135bd23c..0e3de48fc 100644 --- a/sapl/templates/materia/materialegislativa_filter.html +++ b/sapl/templates/materia/materialegislativa_filter.html @@ -128,9 +128,9 @@ {% endfor %} {% endif %}
- {% if m.tramitacao_set.all.exists %} - Acompanhar Matéria - {% endif %} + + Acompanhar Matéria + {% endfor %} {% else %}