Browse Source

Fix #987

pull/991/head
Eduardo Calil 8 years ago
parent
commit
36e101db9d
  1. 2
      sapl/norma/forms.py
  2. 2
      sapl/templates/base.html

2
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

2
sapl/templates/base.html

@ -55,7 +55,7 @@
</li>
</ul>
</li>
<li><a href="/ajuda"><img src="{% static 'img/manual.png' %}"></a></li>
<li><a href="/sistema/ajuda"><img src="{% static 'img/manual.png' %}"></a></li>
{% if not user.is_authenticated %}
<li><a href="{% url 'sapl.base:login' %}"><img src="{% static 'img/user.png' %}"></a></li>
{% else %}

Loading…
Cancel
Save