32 lines
863 B
HTML
32 lines
863 B
HTML
{% extends "base.html" %}
|
|
|
|
{% block title %}修改密码 - DEMO-AGENT V2{% endblock %}
|
|
|
|
{% block content %}
|
|
<main class="login-page">
|
|
<section class="login-card">
|
|
<p class="eyebrow">审核智能体</p>
|
|
<h1>修改密码</h1>
|
|
<p class="muted">输入当前密码,并设置新的登录密码。</p>
|
|
|
|
<form method="post">
|
|
{% csrf_token %}
|
|
|
|
{% if form.non_field_errors %}
|
|
<div class="alert" role="alert">{{ form.non_field_errors }}</div>
|
|
{% endif %}
|
|
|
|
{% for field in form %}
|
|
<label for="{{ field.id_for_label }}">{{ field.label }}</label>
|
|
{{ field }}
|
|
{% if field.errors %}
|
|
<div class="alert" role="alert">{{ field.errors }}</div>
|
|
{% endif %}
|
|
{% endfor %}
|
|
|
|
<button class="button" type="submit">保存密码</button>
|
|
</form>
|
|
</section>
|
|
</main>
|
|
{% endblock %}
|