Commits

Anonymous committed afe744c

don't mix html specs ...

  • Participants
  • Parent commits 1a56f06

Comments (0)

Files changed (3)

File example/templates/authopenid/associate.html

 {% extends "base.html" %}
 {% load i18n %}
 
-{% block head %}
-
-
-{% endblock %}
-
-
 {% block content %}
 {% if msg %}
 	<div class="errors"><p>{{ msg }}</p></div>
     		<div id="openid_btns"></div>
     	</div>
     	<div id="openid_input_area">
-            <label for="id_openid_ul">{% trans "OpenId URL :" %}</label><br />{{ form.openid_url }}
+            <label for="id_openid_url">{% trans "OpenId URL :" %}</label><br />{{ form.openid_url }}
             <input name="openid_submit" type="submit" value="{% trans "Add OpenID" %}">
 		</div>
 	</fieldset>

File example/templates/authopenid/signin.html

 {% extends "base.html" %}
 {% load i18n %}
 
-{% block head %}
-
-
-{% endblock %}
-
-
 {% block content %}
 {% if msg %}
 <br />
     		<div id="openid_btns"></div>
     	</div>
     	    <div id="openid_input_area">
-                <label for="id_openid_ul">{% trans "OpenId URL :" %}</label>{{ form1.openid_url }}
+                <label for="id_openid_url">{% trans "OpenId URL :" %}</label>{{ form1.openid_url }}
                 <input name="openid_submit" type="submit" value="{% trans "Sign in with OpenID" %}">
             </div>
 		

File example/templates/base.html

-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" 
-"http://www.w3.org/TR/html4/strict.dtd">
-{% load i18n %}
-
+<!DOCTYPE html>
 <html lang="en">
     <head>
+        <meta charset="utf-8"/>
         <title>django-authopenid Example App</title>
 
-        <meta http-equiv="content-type" content="text/html; charset=utf-8">
         {% if request.is_secure %}
-        <meta http-equiv="X-XRDS-Location" content="https://{{ request.get_host }}{% url oid_xrdf %}">
+        <meta http-equiv="X-XRDS-Location" content="https://{{ request.get_host }}{% url oid_xrdf %}" />
         {% else %}
-        <meta http-equiv="X-XRDS-Location" content="http://{{ request.get_host }}{% url oid_xrdf %}">  
+        <meta http-equiv="X-XRDS-Location" content="http://{{ request.get_host }}{% url oid_xrdf %}" />  
         {% endif %}
 
         <link rel="stylesheet" href="{{ MEDIA_URL }}/css/base.css" />