22 lines
459 B
HTML
22 lines
459 B
HTML
{% extends "base.html" %}
|
|
|
|
{% block content %}
|
|
|
|
{% if form.errors %}
|
|
<p>Your username and password didn't match. Please try again.</p>
|
|
{% endif %}
|
|
|
|
<form class='well' method="post" action=".">
|
|
{% csrf_token %}
|
|
|
|
<label>{{ form.username.label_tag }}</label>
|
|
{{ form.username }}
|
|
<label>{{ form.password.label_tag }}</label>
|
|
{{ form.password }}
|
|
|
|
<input type="submit" value="login" />
|
|
<input type="hidden" name="next" value="{{ next }}" />
|
|
</form>
|
|
|
|
{% endblock %}
|