diff --git a/sapl/materia/views.py b/sapl/materia/views.py index c6c00dd8a..f31d53a65 100644 --- a/sapl/materia/views.py +++ b/sapl/materia/views.py @@ -397,7 +397,7 @@ class ProposicaoCrud(Crud): def get_initial(self): try: - autor_id = Autor.objects.get(user=self.request.user.id).id + autor_id = Autor.objects.get(id=self.request.user.id).id except MultipleObjectsReturned: msg = _('Este usuário está relacionado a mais de um autor. ' + 'Operação cancelada') diff --git a/sapl/templates/base.html b/sapl/templates/base.html index cec533fc0..b02ab96e2 100644 --- a/sapl/templates/base.html +++ b/sapl/templates/base.html @@ -62,7 +62,7 @@ {# #} - {# #} + {# #} diff --git a/sapl/templates/materia/proposicao_detail.html b/sapl/templates/materia/proposicao_detail.html index e2963f548..65f7c370b 100644 --- a/sapl/templates/materia/proposicao_detail.html +++ b/sapl/templates/materia/proposicao_detail.html @@ -4,7 +4,6 @@ {% block actions %}
-<<<<<<< HEAD {% if proposicao.data_envio %} {% if perms|get_change_perm:view %} {% trans 'Editar Proposição' %}