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