2007-05-07 20:34:18 +08:00
|
|
|
{% extends "base.html" %}
|
|
|
|
{% block title %}Login{% endblock %}
|
|
|
|
{% block content %}
|
2017-07-11 19:53:06 +08:00
|
|
|
{% if form.errors %}
|
2006-09-02 17:34:40 +08:00
|
|
|
<p>Your username and password didn't match. Please try again.</p>
|
|
|
|
{% endif %}
|
|
|
|
|
2018-05-02 21:20:04 +08:00
|
|
|
<form method="post">
|
2006-09-02 17:34:40 +08:00
|
|
|
<table>
|
|
|
|
<tr><td><label for="id_username">Username:</label></td><td>{{ form.username }}</td></tr>
|
|
|
|
<tr><td><label for="id_password">Password:</label></td><td>{{ form.password }}</td></tr>
|
|
|
|
</table>
|
|
|
|
|
2018-01-21 15:09:10 +08:00
|
|
|
<input type="submit" value="login">
|
|
|
|
<input type="hidden" name="next" value="{{ next }}">
|
2006-09-02 17:34:40 +08:00
|
|
|
</form>
|
2014-04-17 03:35:16 +08:00
|
|
|
{% endblock %}
|