website/src/templates/registration/password_reset_confirm.html

45 lines
1.9 KiB
HTML
Raw Normal View History

2021-07-10 11:18:24 +02:00
{% extends 'base.html' %}
{% block content %}
{% load i18n %}
2021-07-10 11:18:24 +02:00
<div class="row">
<div class="col-sm-12 col-md-9">
<div class="ctf-block">
<div class="ctf-head">
<h3>Change password</h3>
</div>
<div class="ctf-body">
<div class="col-sm-10 col-md-8 mx-auto">
<form method="post">
{% csrf_token %}
<div class="form-group">
<p>
<input class="form-control" type="password" name="new_password1" autocomplete="new-password" required="" placeholder="New Password">
<span class="helptext"></span>
</p>
<ul>
<li>{% trans "Your password cant be too similar to your other personal information." %}</li>
<li>{% trans "Your password must contain at least 8 characters." %}</li>
<li>{% trans "Your password cant be a commonly used password."%}</li>
<li>{% trans "Your password cant be entirely numeric." %}</li>
</ul>
<p>
<input class="form-control" type="password" name="new_password2" autocomplete="new-password" required="" placeholder="{% trans "Confirm" %}">
</p>
<input class="form-control" type="submit" value="{% trans "Submit"%}">
</div>
</form>
</div>
</div>
</div>
</div>
<div class="col-sm-12 col-md-3 right-sidebar">
<ul class="list-group">
<a href="/accounts/signin" class="list-group-item">{% trans "Login" %}</a>
<a href="/accounts/signup" class="list-group-item">{% trans "Sign up" %}</a>
</ul>
</div>
</div>
{% endblock %}