diff --git a/sapl/sessao/views.py b/sapl/sessao/views.py index f0fe28dfb..037fb76ab 100755 --- a/sapl/sessao/views.py +++ b/sapl/sessao/views.py @@ -3079,8 +3079,9 @@ class AdicionarVariasMateriasExpediente(PermissionRequiredForAppCrudMixin, def get_context_data(self, **kwargs): context = super(MateriaLegislativaPesquisaView, self).get_context_data(**kwargs) - + context['title'] = _('Pesquisar Matéria Legislativa') + context['root_pk'] = self.kwargs['pk'] self.filterset.form.fields['o'].label = _('Ordenação') diff --git a/sapl/templates/sessao/adicionar_varias_materias_expediente.html b/sapl/templates/sessao/adicionar_varias_materias_expediente.html index 0005e5288..3acd5ae79 100644 --- a/sapl/templates/sessao/adicionar_varias_materias_expediente.html +++ b/sapl/templates/sessao/adicionar_varias_materias_expediente.html @@ -3,24 +3,21 @@ {% load crispy_forms_tags %} {% block actions %}{% endblock %} -{% block sections_nav %} -{% endblock %} - {% block detail_content %} - {% block buttons %} + {% block buttons %} - {% if filter_url and not filter.form.errors %} -
+ {% if filter_url and not filter.form.errors %} + - + - {% endif %} + {% endif %} - {% endblock %} + {% endblock %} {% if filter.form.errors %} {% crispy filter.form %} diff --git a/sapl/templates/sessao/adicionar_varias_materias_ordem.html b/sapl/templates/sessao/adicionar_varias_materias_ordem.html index 1f7bbd7e3..5d6622e1f 100644 --- a/sapl/templates/sessao/adicionar_varias_materias_ordem.html +++ b/sapl/templates/sessao/adicionar_varias_materias_ordem.html @@ -4,16 +4,16 @@ {% block buttons %} - {% if filter_url and not filter.form.errors %} + {% if filter_url and not filter.form.errors %} - + - + - {% endif %} + {% endif %} - {% endblock %} \ No newline at end of file +{% endblock %} \ No newline at end of file