[damned-lies] Fixed label targets on registration form, the ids were wrong



commit d66ad9bb4d9b35cbf2d9f5c922ddcfd7e7f900ab
Author: Gil Forcada <gforcada gnome org>
Date:   Sat Oct 27 16:36:59 2012 +0200

    Fixed label targets on registration form, the ids were wrong

 templates/registration/register.html |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/templates/registration/register.html b/templates/registration/register.html
index b3bffa6..075f2f2 100644
--- a/templates/registration/register.html
+++ b/templates/registration/register.html
@@ -31,10 +31,10 @@
 	<div id="password">
 		<div class="form-row">
 			{{ form.password1.errors }}
-			<label for="id_password">{{ form.password1.label }}</label> {{ form.password1 }} <span class="help">{{ form.password1.help_text }}</span>
+			<label for="id_password1">{{ form.password1.label }}</label> {{ form.password1 }} <span class="help">{{ form.password1.help_text }}</span>
 		</div>
   <div class="form-row">
-    <label for="id_password">{{ form.password2.label }}</label> {{ form.password2 }}
+    <label for="id_password2">{{ form.password2.label }}</label> {{ form.password2 }}
   </div>
   <div class="form-row">
     <label>&nbsp;</label><input type="submit" value="{% trans 'Register with password' %}" />
@@ -45,7 +45,7 @@
 <div id="openid">
 	<div class="form-row">
     {{ form.openid_url.errors }}
-    <label for="id_openid"><img src="{{ openid_path }}logo/" alt=""> {{ form.openid_url.label }}</label> {{ form.openid_url }}
+    <label for="id_openid_url"><img src="{{ openid_path }}logo/" alt=""> {{ form.openid_url.label }}</label> {{ form.openid_url }}
   </div>
 	<div class="form-row">
     <label>&nbsp;</label><input type="submit" value="{% trans 'Register with OpenID' %}" />



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]