diff --git a/sapl/templates/base/autor_form.html b/sapl/templates/base/autor_form.html index ed7efd5e0..f398a2941 100644 --- a/sapl/templates/base/autor_form.html +++ b/sapl/templates/base/autor_form.html @@ -28,7 +28,7 @@ $(document).ready(function(){ var update_search = function(pk, atualizar=true) { var q = $('#id_q').val(); - var url = '{% url 'sapl.api:autor-provaveis'%}' + var url = '{% url 'sapl.api:base-autor-provaveis'%}' var formData = { q: q, diff --git a/sapl/templates/compilacao/layout/dispositivo_checkbox.html b/sapl/templates/compilacao/layout/dispositivo_checkbox.html index e0a7ab4d5..574896304 100644 --- a/sapl/templates/compilacao/layout/dispositivo_checkbox.html +++ b/sapl/templates/compilacao/layout/dispositivo_checkbox.html @@ -2,7 +2,7 @@ {% load i18n compilacao_filters common_tags%}
- {% include 'bootstrap/layout/field_errors_block.html' %} + {% include 'bootstrap4/layout/field_errors_block.html' %} {% for choice in field.field.choices %} {% ifchanged choice.1.ta%} {% if not forloop.first %}{% endif %} @@ -62,5 +62,5 @@ - {% include 'bootstrap/layout/help_text.html' %} + {% include 'bootstrap4/layout/help_text.html' %}
diff --git a/sapl/templates/compilacao/layout/dispositivo_radio.html b/sapl/templates/compilacao/layout/dispositivo_radio.html index f0cd84e6b..33baad00d 100644 --- a/sapl/templates/compilacao/layout/dispositivo_radio.html +++ b/sapl/templates/compilacao/layout/dispositivo_radio.html @@ -3,7 +3,7 @@
- {% include 'bootstrap/layout/field_errors_block.html' %} + {% include 'bootstrap4/layout/field_errors_block.html' %} {% for choice, dpt in field.field.choices %} {% ifchanged dpt.ta%} @@ -58,5 +58,5 @@ - {% include 'bootstrap/layout/help_text.html' %} + {% include 'bootstrap4/layout/help_text.html' %}
diff --git a/sapl/templates/materia/autoria_form.html b/sapl/templates/materia/autoria_form.html index e15cf829b..6e874a63d 100644 --- a/sapl/templates/materia/autoria_form.html +++ b/sapl/templates/materia/autoria_form.html @@ -17,7 +17,7 @@ o: 'nome', get_all: true } - $.getJSON("{% url 'sapl.api:autor-possiveis' %}", json_data, function(data){ + $.getJSON("{% url 'sapl.api:base-autor-possiveis' %}", json_data, function(data){ if (data) { if (data.length > 1) { $("#id_autor").append(""); diff --git a/sapl/templates/materia/autoria_multicreate_form.html b/sapl/templates/materia/autoria_multicreate_form.html index 9d5962006..b63ba5247 100644 --- a/sapl/templates/materia/autoria_multicreate_form.html +++ b/sapl/templates/materia/autoria_multicreate_form.html @@ -17,7 +17,7 @@ o: 'nome', get_all: true } - $.getJSON("{% url 'sapl.api:autor-possiveis' %}", json_data, function(data){ + $.getJSON("{% url 'sapl.api:base-autor-possiveis' %}", json_data, function(data){ $("#div_id_autor > div").html(''); if (data) { $.each(data, function(idx, obj) { diff --git a/sapl/templates/materia/materialegislativa_form.html b/sapl/templates/materia/materialegislativa_form.html index c87834da9..37e49be8c 100644 --- a/sapl/templates/materia/materialegislativa_form.html +++ b/sapl/templates/materia/materialegislativa_form.html @@ -68,7 +68,7 @@ o: 'nome', get_all: true } - $.getJSON("{% url 'sapl.api:autor-possiveis' %}", json_data, function(data){ + $.getJSON("{% url 'sapl.api:base-autor-possiveis' %}", json_data, function(data){ if (data) { if (data.length > 1) { $("#id_autor").append(""); diff --git a/sapl/templates/materia/proposicao_form.html b/sapl/templates/materia/proposicao_form.html index 5a603d255..339060598 100644 --- a/sapl/templates/materia/proposicao_form.html +++ b/sapl/templates/materia/proposicao_form.html @@ -33,7 +33,7 @@ }); $("select[name=tipo_materia], input[name=numero_materia], input[name=ano_materia]").change(function(event) { - var url = '{% url 'sapl.api:materialegislativa-list'%}' + var url = '{% url 'sapl.api:base-materialegislativa-list'%}' var formData = { 'tipo' : $("select[name=tipo_materia]").val(), diff --git a/sapl/templates/materia/tipomaterialegislativa_list.html b/sapl/templates/materia/tipomaterialegislativa_list.html index 1680e89e7..e833ac421 100644 --- a/sapl/templates/materia/tipomaterialegislativa_list.html +++ b/sapl/templates/materia/tipomaterialegislativa_list.html @@ -23,7 +23,7 @@ var pos_fim = ui.item.index() + 1; var pk = ui.item.find('a[pk]').attr('pk'); - var url = "{% url 'sapl.api:tipomaterialegislativa-change-position' 0 %}"; + var url = "{% url 'sapl.api:base-tipomaterialegislativa-change-position' 0 %}"; url = url.replace('0', pk) ; $.ajax({ diff --git a/sapl/templates/norma/autorianorma_form.html b/sapl/templates/norma/autorianorma_form.html index 5729c0357..a40e929c2 100644 --- a/sapl/templates/norma/autorianorma_form.html +++ b/sapl/templates/norma/autorianorma_form.html @@ -18,7 +18,7 @@ o: 'nome', get_all: true } - $.getJSON("{% url 'sapl.api:autor-possiveis' %}", json_data, function(data){ + $.getJSON("{% url 'sapl.api:base-autor-possiveis' %}", json_data, function(data){ if (data) { if (data.length > 1) { $("#id_autor").append(""); diff --git a/sapl/templates/protocoloadm/protocolar_materia.html b/sapl/templates/protocoloadm/protocolar_materia.html index b48f89bde..29e685d2b 100644 --- a/sapl/templates/protocoloadm/protocolar_materia.html +++ b/sapl/templates/protocoloadm/protocolar_materia.html @@ -57,7 +57,7 @@ o: 'nome', get_all: true } - $.getJSON("{% url 'sapl.api:autor-possiveis' %}", json_data, function(data){ + $.getJSON("{% url 'sapl.api:base-autor-possiveis' %}", json_data, function(data){ if (data) { if (data.length > 1) { $("#id_autor").append(""); diff --git a/sapl/templates/widgets/image_thumbnail.html b/sapl/templates/widgets/image_thumbnail.html index b31f19403..f2e76cf2d 100644 --- a/sapl/templates/widgets/image_thumbnail.html +++ b/sapl/templates/widgets/image_thumbnail.html @@ -61,6 +61,6 @@ - {% include 'bootstrap3/layout/help_text_and_errors.html' %} + {% include 'bootstrap4/layout/help_text_and_errors.html' %}