Initial commit: Portal Auth Admin Dashboard
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
15
templates/edit_password.html
Normal file
15
templates/edit_password.html
Normal file
@@ -0,0 +1,15 @@
|
||||
{% extends "base.html" %}
|
||||
{% block title %}Change password — Portal Auth Admin{% endblock %}
|
||||
{% block content %}
|
||||
<div class="form-page">
|
||||
<h1>Change password: <code>{{ row.username }}</code></h1>
|
||||
<form method="post" action="{{ url_for('user_password', pk=row.id) }}" class="edit-form">
|
||||
<label for="password">New password</label>
|
||||
<input type="password" id="password" name="password" required minlength="8" autocomplete="new-password">
|
||||
<div class="form-actions">
|
||||
<button type="submit">Update password</button>
|
||||
<a href="{{ url_for('table_view', name='users') }}" class="btn-link">Cancel</a>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user