<!DOCTYPE html>
<html lang="zh-cn">
    <div>
        <form method="post" action=".">
            {% csrf_token %}
            <!-- 昵称 -->
            <div>
                <label for="username">昵称</label>
                <input type="text" id="username" name="username">
            </div>
            <!-- 邮箱 -->
            <div>
                <label for="email">邮箱</label>
                <input type="text" id="email" name="email">
            </div>
            <!-- 密码 -->
            <div>
                <label for="password">设置密码</label>
                <input type="password" id="password" name="password" required>
            </div>
            <!-- 确认密码 -->
            <div>
                <label for="password2">确认密码</label>
                <input type="password" id="password2" name="password2" required>
            </div>
            <!-- 提交按钮 -->
            <button type="submit">提交</button>
        </form>
    </div>
</html>