2022-01-23 17:10:05 +01:00
|
|
|
{% extends "base.html" %}
|
|
|
|
|
2022-01-25 18:17:58 +01:00
|
|
|
{% block title %}Zmień hasło{% endblock %}
|
2022-01-23 17:10:05 +01:00
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
<div class="accountInfoContainer ">
|
|
|
|
<form method="post">
|
2022-01-25 18:17:58 +01:00
|
|
|
<input type="password" id="oldPassword" name="oldPassword" class="form-control" placeholder="Stare hasło" required><br><br>
|
|
|
|
<input type="password" id="newPassword" name="newPassword" class="form-control" placeholder="Nowe hasło" required><br><br>
|
|
|
|
<input type="password" id="repeatPassword" name="repeatPassword" class="form-control" placeholder="Powtórz hasło" required><br><br>
|
|
|
|
<input type="submit" value="Zmień hasło"><br><br>
|
2022-01-31 21:00:29 +01:00
|
|
|
{% if messages %}
|
|
|
|
{% for message in messages %}
|
|
|
|
<div class="alert {% if message.tags %} alert-{{ message.tags }}{% endif %}">{{ message|safe }}</div>
|
|
|
|
{% endfor %}
|
|
|
|
{% endif %}
|
2022-01-23 17:10:05 +01:00
|
|
|
</form>
|
|
|
|
<div class="linkDefault">
|
2022-01-25 18:17:58 +01:00
|
|
|
<a href="{% url 'account' %}">Wróć</a>
|
2022-01-23 17:10:05 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endblock %}
|