2007-05-07 20:34:18 +08:00
|
|
|
{% extends "base.html" %}
|
|
|
|
{% block title %}Login{% endblock %}
|
|
|
|
{% block content %}
|
2006-09-02 17:34:40 +08:00
|
|
|
{% if form.has_errors %}
|
|
|
|
<p>Your username and password didn't match. Please try again.</p>
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
<form method="post" action=".">
|
|
|
|
<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>
|
|
|
|
|
|
|
|
<input type="submit" value="login" />
|
|
|
|
<input type="hidden" name="next" value="{{ next }}" />
|
|
|
|
</form>
|
2014-04-17 03:35:16 +08:00
|
|
|
{% endblock %}
|