{% extends "binder/base.html" %}
{% block title %}Log in{% endblock %}

{% block content %}

{% if form.errors %}
<p><strong>Your username and password didn't match. Please try again.</strong></p>
{% endif %}
<form method="post" action="">
<table>
<tr><th class="left">{{ form.username.label_tag }}</th><td>{{ form.username }}</td></tr>
<tr><th>{{ form.password.label_tag }}</th><td>{{ form.password }}</td></tr>
</table>
<br />

<input type="submit" value="Login" />
<input type="hidden" name="next" value="{{ next }}" />
{% csrf_token %}
</form>

{% endblock %}
