From 17c1c349816c53cc43a8c0582012c7b583cbd2fc Mon Sep 17 00:00:00 2001 From: LeandroRoberto Date: Mon, 22 Jan 2018 16:31:32 -0200 Subject: [PATCH] corrige url fixa e bloco de temp em local incorreto --- sapl/templates/crud/detail.html | 2 +- sapl/templates/parlamentares/composicaomesa_form.html | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/sapl/templates/crud/detail.html b/sapl/templates/crud/detail.html index 513c67bbf..8087b458b 100644 --- a/sapl/templates/crud/detail.html +++ b/sapl/templates/crud/detail.html @@ -116,5 +116,5 @@ {% include "paginacao.html" %} {% endblock table_content %} - {% block extra_js %}{% endblock %} {% endblock base_content %} +{% block extra_js %}{% endblock %} diff --git a/sapl/templates/parlamentares/composicaomesa_form.html b/sapl/templates/parlamentares/composicaomesa_form.html index 6ba96835f..a9059b34e 100644 --- a/sapl/templates/parlamentares/composicaomesa_form.html +++ b/sapl/templates/parlamentares/composicaomesa_form.html @@ -168,7 +168,8 @@ $("#id_parlamentar option").remove(); $("#id_cargo option").remove(); - $.get("/mesa-diretora/altera-field-mesa", + + $.get({% url 'sapl.parlamentares:altera_field_mesa' %}, {legislatura: legislatura_value, sessao: sessao_value}, function(data) { // Caso não venha nenhum dado da requisição, retorna null