{% extends 'checkIn/layout.html' %}

{% block body %}
<div id="login" class="table-responsive col-md-10 col-md-offset-1">
    <H3>请输入信息登录网站：</H3>
    <div class="panel panel-default">
        <form name="login" method="post">
            {% csrf_token %}
            <div class="form-group">
                <label>请输入用户名:</label>
                <input type="text" name="username" class="form-control" placeholder="用户名" />
            </div>
            <div class="form-group">
                <label>请输入密码：</label>
                <input type="password" name="password" class="form-control" placeholder="密码" />
            </div>

            <input type="submit" value="登录" class="btn btn-default" />
        </form> <br />
        <table class="table" border="0">
            <tr>
                <td><a href="/checkIn/forgetPSW">忘记密码</a> </td>
                <td><a href="/">返回首页</a></td>
            </tr>
        </table>
    </div>
</div>
{% endblock %}