feat(demo): 初始化审核智能体演示基线
This commit is contained in:
31
templates/registration/password_change.html
Normal file
31
templates/registration/password_change.html
Normal file
@@ -0,0 +1,31 @@
|
||||
{% 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 %}
|
||||
Reference in New Issue
Block a user