Created
August 1, 2010 05:07
-
-
Save fsouza/502967 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% extends "base.html" %} | |
{% block content %} | |
<p>Fill the form bellow to login in the system ;)</p> | |
{% if form.errors %} | |
<p>Your username and password didn't match. Please try again.</p> | |
{% endif %} | |
<form method="post" action="{% url django.contrib.auth.views.login %}">{% csrf_token %} | |
<table> | |
<tr> | |
<td>{{ form.username.label_tag }}</td> | |
<td>{{ form.username }}</td> | |
</tr> | |
<tr> | |
<td>{{ form.password.label_tag }}</td> | |
<td>{{ form.password }}</td> | |
</tr> | |
</table> | |
<input type="submit" value="login" /> | |
<input type="hidden" name="next" value="{{ next }}" /> | |
</form> | |
{% endblock %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment