<!DOCTYPE html>
<html lang="zh-CN">
  <head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="renderer" content="webkit">

    <title>登陆</title>

        <!-- Bootstrap -->
        <link href="/static/css/bootstrap.css" rel="stylesheet">
        <link rel="stylesheet" type="text/css" href="/static/css/footer.css">
    	<link href="/static/css/signin.css" rel="stylesheet">

  </head>

  <body>
<div>
        {% for item in form %}
		{%if item.errors%}  
                <div class="alert alert-danger" role="alert">
                    {{item.errors}} {{error_msg}}
                </div>
        {%endif%}

        {% endfor %}
</div>
<table width="100%" height="100%"><tr><td valign="middle">
<table id="table00" width="1350" height="629" border="0" align="center"  valign="middle" cellpadding="0" cellspacing="0" background="/static/img/login.jpg" >
  <tr>
    <td><br />
      <br />
        <br />
        <table width="450" height="278" border="0" align="center" cellpadding="0" cellspacing="0" background="/static/img/bj_01.png">
          <tr>
            <td height="38">&nbsp;   
             
     				
     		 </td>
          </tr>
          <tr>
            <td>
    <form class="form-signin" role="form" action={% url "loginurl" %} method="POST" >
    {% csrf_token %}

        {% for item in form %}
        <label  class="sr-only">{{item.label}}</label>
        {{item}}
        {% endfor %}

        <div class="form-group">
            <div class="col-md-offset-1 col-md-10">
                <input type="hidden" name="next" value="{{ next }}" />
            </div>
        </div>
        <div class="col-md-offset-2 col-md-10">
          <button class="btn btn-lg btn-primary " type="submit">登 录</button>
        </div>


    </form>
            </td>
          </tr>
          <tr>
            <td height="38">&nbsp;</td>
          </tr>
      </table></td>
  </tr>
</table></td></tr></table>


<script src="/static/js/jquery.min.js"></script> 
<script src="/static/js/bootstrap.min.js"></script> 
<script src="/static/js/bootstrap-datetimepicker.min.js"></script> 
<script src="/static/js/bootstrap-datetimepicker.zh-CN.js"></script> 
  </body>
</html>







