Source

eyes / eyeswebapp / templates / registration / login.html

Full commit
{% extends "base.html" %}

{% block content %}

{% if form.errors %}
<ul data-role="listview" data-inset="true" data-theme="c" data-dividertheme="a">
	<li data-role="list-divider">Information</li>
	<li>Your username and password didn't match. Please try again.</li>
</ul>
{% endif %}

<form method='POST' action="{% url django.contrib.auth.views.login %}">
	{% csrf_token %}
	{% for field in form %}
	<div data-role="fieldcontain">
		{{field.errors}}
		{{field.label_tag}} {{field}}
	</div>	
	{% endfor %}
	<input type="hidden" name="next" value="{{ next }}" />
	<div data-role="fieldcontain">
		<input type="submit" value="login">
	</div>
</form>

{% endblock %}