{% extends 'base.html' %}
{% block main_content %}
    <div class="row">
        <div class="col-md-6 col-md-offset-3">
            <div class="panel panel-default">
                <div class="panel-heading">
                    <h4>人员登录</h4>
                </div>
                <div class="panel-body">
                    <form action="#" class="form-horizontal" method="post">
                        {% csrf_token %}
                        <div class="col-md-10 col-md-offset-1">
                            <div class="form-group">
                                <label for="role" class="col-md-2">角&#12288色</label>
                                <div class="col-md-10">
                                    <select name="role" id="role" class="form-control">
                                        <option value="0">学生</option>
                                        <option value="1">管理员</option>
                                    </select>
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="username" class="col-md-2">用户名</label>
                                <div class="col-md-10">
                                    <input type="text" class="form-control" name="username" id="username">
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="pwd" class="col-md-2">密&#12288码</label>
                                <div class="col-md-10">
                                    <input type="password" class="form-control" name="pwd" id="pwd">
                                </div>
                            </div>
                            <div class="form-group">
                                <div class="col-md-10 col-md-offset-2">
                                    <input class="btn btn-primary" type="submit" value="登录">
                                    <input type="reset" class="btn btn-default" value="重置">
                                </div>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
{% endblock %}
