1.2.6 password recovery TRI-108
This commit is contained in:
@@ -49,6 +49,29 @@
|
||||
</a>
|
||||
{% endif %}
|
||||
<div class="call_to_reg">{% translate "Нет аккаунта?" %} <a href="/ru/profile/registration/">{% translate "Зарегистрируйтесь" %}</a></div>
|
||||
<div class="call_to_reg" onclick="showForm()">{% translate "Восстановить пароль" %}</div>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
|
||||
|
||||
<form class="password_recovery" name="password_recovery" method="post">
|
||||
{% csrf_token %}
|
||||
|
||||
<div class="inputs_l">
|
||||
<input
|
||||
name="email"
|
||||
type="text"
|
||||
placeholder="{{ p_login }}"
|
||||
{% if form.data.username %} value="{{ form.data.username }}"{% endif %}
|
||||
id="login_email_input"
|
||||
>
|
||||
{% if form.username and form.errors.username %}
|
||||
<span>{{ form.errors.username }}</span>
|
||||
{% endif %}
|
||||
</div>
|
||||
<div class="button_register "><button class="recovery" onclick="SendLoginForm(this)">{% translate "Восстановить" %}</button></div>
|
||||
|
||||
|
||||
</form>
|
||||
</section>
|
||||
Reference in New Issue
Block a user