| 1 |
{% extends "base.html" %} |
| 2 |
{% block title %}Login{% endblock %} |
| 3 |
{% block content %} |
| 4 |
{% if form.errors %} |
| 5 |
<p>Your username and password didn't match. Please try again.</p> |
| 6 |
{% endif %} |
| 7 |
|
| 8 |
<form method="post"> |
| 9 |
<table> |
| 10 |
<tr><td><label for="id_username">Username:</label></td><td>{{ form.username }}</td></tr> |
| 11 |
<tr><td><label for="id_password">Password:</label></td><td>{{ form.password }}</td></tr> |
| 12 |
</table> |
| 13 |
|
| 14 |
<input type="submit" value="login"> |
| 15 |
<input type="hidden" name="next" value="{{ next }}"> |
| 16 |
</form> |
| 17 |
{% endblock %} |