diff --git a/sapl/materia/views.py b/sapl/materia/views.py index ce9fa45d7..69fff1b79 100644 --- a/sapl/materia/views.py +++ b/sapl/materia/views.py @@ -1264,9 +1264,13 @@ class DocumentoAcessorioEmLoteView(PermissionRequiredMixin, FilterView): return context qr = self.request.GET.copy() + context['tipos_docs'] = TipoDocumento.objects.all() context['filter_url'] = ('&' + qr.urlencode()) if len(qr) > 0 else '' return context + def post(self, request, *args, **kwargs): + return self.get(request, self.kwargs) + # def post(self, request, *args, **kwargs): # marcadas = request.POST.getlist('materia_id') # diff --git a/sapl/templates/materia/acessorio_lote.html b/sapl/templates/materia/acessorio_lote.html index f91c3017d..ec689286b 100644 --- a/sapl/templates/materia/acessorio_lote.html +++ b/sapl/templates/materia/acessorio_lote.html @@ -18,27 +18,72 @@ {% else %}