0.0.11 new throwing registration errors
This commit is contained in:
@@ -873,6 +873,7 @@ select {
|
||||
background: url("./img/icon-arrow.png") no-repeat calc(100% - 15px) center;
|
||||
}
|
||||
|
||||
.inputs>span{
|
||||
|
||||
.errorlist>li{
|
||||
color:red;
|
||||
}
|
||||
20
static/js/newRoute.js
Normal file
20
static/js/newRoute.js
Normal file
@@ -0,0 +1,20 @@
|
||||
function createRoute(){
|
||||
|
||||
$.ajax({
|
||||
headers: { "X-CSRFToken": $('input[name=csrfmiddlewaretoken]').val() },
|
||||
url: '/ru/user_account/new_route_view/',
|
||||
type: "POST",
|
||||
// async: true,
|
||||
cache: false,
|
||||
processData: false,
|
||||
contentType: false,
|
||||
// enctype: 'json',
|
||||
// data: {},
|
||||
success: function(data){
|
||||
console.log('data received')
|
||||
// location.href = '/profile'
|
||||
document.querySelector(".profile").innerHTML = data.html
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user