{% extends "base.html" %}
{% block title %}登录{% endblock %}

{% block content %}
  <section class="section">
    <div class="container" style="max-width:600px;">
      <h1 class="title">登录</h1>
      <form method="POST">
	{% csrf_token %}
	{% include "form_snippet.html" %}
	{% if redirect_field_value %}
	  <input type="hidden" name="{{ redirect_field_name }}" value="{{ redirect_field_value }}" />
	{% endif %}
	<input class="button is-primary" type="submit" value="登录" />
      </form>
    </div>
  </section>
{% endblock %}
