This commit is contained in:
2023-08-24 18:50:47 +03:00
parent 6a2debcc2d
commit 1e152c7dab
3 changed files with 126 additions and 90 deletions

View File

@@ -678,6 +678,8 @@
margin-top: 60px;
margin-bottom: 40px;
border-radius: 10px;
display: flex;
padding: 13px;
}
.container_form_search_carrier > form{
@@ -815,6 +817,7 @@
font-style: normal;
font-weight: 400;
margin-top: 0;
padding-left: 10px;
}
.cont-el-form-search-carrier.last > select:focus-visible{

View File

@@ -1,5 +1,19 @@
function filters_func_find_route_main (){
let urls_for_els = {
'road_url':''
}
function filters_func_find_route_main (el){
event.preventDefault()
let form = el.form
let formData = new FormData(form)
$.ajax({
headers: { "X-CSRFToken": $('input[name=csrfmiddlewaretoken]').val() },
url: '/ru/routes/find_route/',
type: "POST",
// async: true,
cache: false,
processData: false,
contentType: false,
// enctype: 'json',
data: formData,
success: function(data){
},
});
}