Move the passwords up after the username so that Firefox remembers the username (instead of the email) in the password manager. Blame dolske if this doesn't work correctly!
authorBenjamin Smedberg <benjamin@smedbergs.us>
Tue, 15 Dec 2009 22:42:42 -0500
changeset 23 c6ea09078a58
parent 22 be97dcbfb739
child 24 4cfaabdf6eee
push id20
push userbsmedberg@mozilla.com
push date2009-12-16 03:42 +0000
Move the passwords up after the username so that Firefox remembers the username (instead of the email) in the password manager. Blame dolske if this doesn't work correctly!
weeklyupdates/templates/signup.xhtml
--- a/weeklyupdates/templates/signup.xhtml
+++ b/weeklyupdates/templates/signup.xhtml
@@ -8,16 +8,19 @@
     <title>Create a new user</title>
   </head>
   <body class="nocols">
     <h1>Create a new user</h1>
 
     <form action="${genlink('signup')}" method="POST">
       <p><label for="username">Username</label><input id="username" type="text" name="username" size="20" value="" /></p>
 
+      <p><label for="password1">Password</label><input id="password1" type="password" name="password1" size="20" value="" /><br/>
+        <label for="password2">Retype Password:</label><input id="password2" type="password" name="password2" size="20" value="" /></p>
+
       <p><label for="email">Email</label><input id="email" type="text" name="email" size="30" value="" />
         <em>Optional. Your email will be available to other logged-in users.</em>
       </p>
 
       <p><label for="reminderday">Nagging</label>
         <select id="reminderday" name="reminderday"
                 initialvalue="1">
           <option value="-">(No thanks)</option>
@@ -34,19 +37,16 @@
         <select id="sendemail" name="sendemail" initialvalue="0">
           <option value="-">(No thanks)</option>
           <option value="0">Immediately</option>
           <option value="1">Once a day</option>
           <option value="2">Once a week on Tuesday</option>
         </select>
       </p>
 
-      <p><label for="password1">Password</label><input id="password1" type="password" name="password1" size="20" value="" /><br/>
-        <label for="password2">Retype Password:</label><input id="password2" type="password" name="password2" size="20" value="" /></p>
-
       <p><label for="globalpass">Spamfilter password:</label><input id="globalpass" type="password" name="globalpass" size="20" value="" /><br/>
         <em>In order to cut down on spam and avoid captchas, Get this password from somebody in the community who knows it. Try irc.mozilla.org #developers.</em>
       </p>
 
       <h2>Member of Projects</h2>
       <ul>
         <li py:for="project in projects">
           <label for="project_${project}">${project}</label><input id="project_${project}" type="checkbox" name="project_${project}" value="1"/>