{% extends 'user/base.html' %}

{% block head %}
    <title>用户登录界面</title>
{% endblock head %}

{% block content %}
        <div class="box">
            <h1 class="is-uppercase has-text-centered has-text-weight-bold">用户登录</h1>
            <hr class="dropdown-divider">
            <form action="" method="post">
                {% csrf_token %}
                {{ form.as_p }}
                {{ form.errors }}
                <a class="is-pulled-right is-size-7" href="{% url 'user:forget' %}">忘记密码?</a>
                <div class="is-clearfix"></div>
                <input type="submit" value="登  录" class="button is-link is-fullwidth" style="margin-top: 1em;">
            </form>
        </div>
{% endblock content %}
