23 lines
1.0 KiB
HTML
23 lines
1.0 KiB
HTML
{% extends "base.html" %}
|
|
|
|
{% block title %}Zmień hasło{% endblock %}
|
|
|
|
{% block content %}
|
|
<div class="accountInfoContainer ">
|
|
<form method="post">
|
|
<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>
|
|
{% if messages %}
|
|
{% for message in messages %}
|
|
<div class="alert {% if message.tags %} alert-{{ message.tags }}{% endif %}" style="color:red">{{ message|safe }}</div>
|
|
{% endfor %}
|
|
{% endif %}
|
|
</form>
|
|
<div class="linkDefault">
|
|
<a href="{% url 'account' %}">Wróć</a>
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|