{% extends "private_info/login_base.html" %} {% load static %} {% block title %} Login {% endblock %} {% block content %} {% if messages %} {% endif %}

登录信息管理

{% if form.errors %}

密码不正确,请重新输入.

{% endif %} {% if next %} {% if user.is_authenticated %}

该账号没有访问页面权限.

{% else %}

请先登录.

{% endif %} {% endif %}
{% csrf_token %}
{{ form.username.label_tag }} {{ form.username }}
{{ form.password.label_tag }} {{ form.password }}
注册
{% endblock %}