37 lines
1.5 KiB
HTML
37 lines
1.5 KiB
HTML
{% extends "base.html" %}
|
|
{% block content %}
|
|
<div class="container my-5">
|
|
<div class="row justify-content-center">
|
|
<div class="col-md-6">
|
|
<div class="card border-0 shadow-sm">
|
|
<div class="card-header bg-light text-center">
|
|
<h4 class="mb-0">Zmień hasło</h4>
|
|
</div>
|
|
<div class="card-body">
|
|
<form method="POST">
|
|
<div class="mb-3">
|
|
<label for="current_password" class="form-label">Obecne hasło</label>
|
|
<input type="password" class="form-control" id="current_password" name="current_password" placeholder="Wpisz obecne hasło" required>
|
|
</div>
|
|
<div class="mb-3">
|
|
<label for="new_password" class="form-label">Nowe hasło</label>
|
|
<input type="password" class="form-control" id="new_password" name="new_password" placeholder="Wpisz nowe hasło" required>
|
|
</div>
|
|
<div class="mb-3">
|
|
<label for="confirm_password" class="form-label">Potwierdź nowe hasło</label>
|
|
<input type="password" class="form-control" id="confirm_password" name="confirm_password" placeholder="Powtórz nowe hasło" required>
|
|
</div>
|
|
<div class="d-grid">
|
|
<button type="submit" class="btn btn-primary">Zmień hasło</button>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
<div class="card-footer text-center">
|
|
<a href="{{ url_for('dashboard') }}">Powrót do panelu</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|