From 36e101db9da8af7685811ce69384eee7b9f3615b Mon Sep 17 00:00:00 2001 From: Eduardo Calil Date: Mon, 3 Apr 2017 13:09:57 -0300 Subject: [PATCH] Fix #987 --- sapl/norma/forms.py | 2 +- sapl/templates/base.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sapl/norma/forms.py b/sapl/norma/forms.py index 932431d0d..af2b8b38b 100644 --- a/sapl/norma/forms.py +++ b/sapl/norma/forms.py @@ -143,7 +143,7 @@ class NormaJuridicaForm(ModelForm): if texto_integral: if texto_integral.size > MAX_DOC_UPLOAD_SIZE: raise ValidationError("Arquivo muito grande. ( > 5mb )") - return texto_integral + return texto_integral def save(self, commit=False): norma = self.instance diff --git a/sapl/templates/base.html b/sapl/templates/base.html index 450a97799..a96815f62 100644 --- a/sapl/templates/base.html +++ b/sapl/templates/base.html @@ -55,7 +55,7 @@ -
  • +
  • {% if not user.is_authenticated %}
  • {% else %}