1.7.7 fix js dublicates login section
This commit is contained in:
@@ -39,7 +39,7 @@ function SendLoginForm(el){
|
|||||||
|
|
||||||
},
|
},
|
||||||
error: function (data, exception){
|
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')
|
document.getElementsByClassName('recovery')[0].classList.remove('hide')
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
{% trans "Пароль" as p_password %}
|
{% trans "Пароль" as p_password %}
|
||||||
|
|
||||||
<section class="login">
|
<section class="login">
|
||||||
<h1>{% translate "Войдите в профиль" %}</h1>
|
<h1>{% translate "Войдите в профиль" %}</h1>
|
||||||
|
|
||||||
<form class="login_form" name="login_form" method="post">
|
<form class="login_form" name="login_form" method="post">
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user