Commit a91680b5 by Fladischer Michael Committed by James Henstridge

Clean up indentation in templates. Fixes bug #591877.

parent ae5503dc
...@@ -2,12 +2,10 @@ ...@@ -2,12 +2,10 @@
"http://www.w3.org/TR/html4/strict.dtd"> "http://www.w3.org/TR/html4/strict.dtd">
<html> <html>
<head> <head>
<title>OpenID failed</title> <title>OpenID failed</title>
</head> </head>
<body> <body>
<h1>OpenID failed</h1> <h1>OpenID failed</h1>
<p>{{ message|escape }}</p>
<p>{{ message|escape }}</p>
</body> </body>
</html> </html>
\ No newline at end of file
{% load i18n %} {% load i18n %}
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html> <html>
<head> <head>
<title>Sign in with your OpenID</title> <title>Sign in with your OpenID</title>
<style type="text/css"> <style type="text/css">
input.openid { input.openid {
background: url({% url openid-logo %}) no-repeat; background: url({% url openid-logo %}) no-repeat;
background-position: 0 50%; background-position: 0 50%;
padding-left: 16px; padding-left: 16px;
} }
</style> </style>
</head> </head>
...@@ -17,29 +15,29 @@ input.openid { ...@@ -17,29 +15,29 @@ input.openid {
<h1>Sign in with your OpenID</h1> <h1>Sign in with your OpenID</h1>
{% if form.errors %} {% if form.errors %}
<p class="errors">{% trans "Please correct errors below:" %}<br /> <p class="errors">{% trans "Please correct errors below:" %}<br />
{% if form.openid_identifier.errors %} {% if form.openid_identifier.errors %}
<span class="error">{{ form.openid_identifier.errors|join:", " }}</span> <span class="error">{{ form.openid_identifier.errors|join:", " }}</span>
{% endif %} {% endif %}
{% if form.next.errors %} {% if form.next.errors %}
<span class="error">{{ form.next.errors|join:", " }}</span> <span class="error">{{ form.next.errors|join:", " }}</span>
{% endif %} {% endif %}
</p> </p>
{% endif %} {% endif %}
<form name="fopenid" action="{{ action }}" method="post"> <form name="fopenid" action="{{ action }}" method="post">
{% csrf_token %} {% csrf_token %}
<fieldset> <fieldset>
<legend>{% trans "Sign In Using Your OpenID" %}</legend> <legend>{% trans "Sign In Using Your OpenID" %}</legend>
<div class="form-row"> <div class="form-row">
<label for="id_openid_identifier">{% trans "OpenID:" %}</label><br /> <label for="id_openid_identifier">{% trans "OpenID:" %}</label><br />
{{ form.openid_identifier }} {{ form.openid_identifier }}
</div> </div>
<div class="submit-row "><input name="bsignin" type="submit" value="{% trans "Sign in" %}"></div> <div class="submit-row ">
<input name="bsignin" type="submit" value="{% trans "Sign in" %}">
</div>
{% if next %} {% if next %}
<input type="hidden" name="next" value="{{ next }}" /> <input type="hidden" name="next" value="{{ next }}" />
{% endif %} {% endif %}
</fieldset>
</fieldset> </form>
</form>
</body> </body>
</html> </html>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment