diff --git a/static/js/authorization.js b/static/js/authorization.js index 0c59dfe..d670ec9 100644 --- a/static/js/authorization.js +++ b/static/js/authorization.js @@ -39,7 +39,7 @@ function SendLoginForm(el){ }, error: function (data, exception){ - document.querySelector(".login").innerHTML = data.responseJSON.html + document.querySelector(".wrapper_content").innerHTML = data.responseJSON.html document.getElementsByClassName('recovery')[0].classList.remove('hide') } }); diff --git a/templates/forms/f_login.html b/templates/forms/f_login.html index 8bdf909..fcfe4f9 100644 --- a/templates/forms/f_login.html +++ b/templates/forms/f_login.html @@ -5,7 +5,7 @@ {% trans "Пароль" as p_password %}
-

{% translate "Войдите в профиль" %}

+

{% translate "Войдите в профиль" %}