From f7f9599d8cd9864714f5e44945b525dded34be4e Mon Sep 17 00:00:00 2001
From: Shane Tomlinson <stomlinson@mozilla.com>
Date: Thu, 6 Oct 2011 09:44:46 +0100
Subject: [PATCH] Simplifying the layout of the hints and password sections a
 bit, making the markup more semantic and easier to follow.

---
 .../static/dialog/views/authenticate.ejs      | 27 +++++++++----------
 1 file changed, 13 insertions(+), 14 deletions(-)

diff --git a/browserid/static/dialog/views/authenticate.ejs b/browserid/static/dialog/views/authenticate.ejs
index d274a8cb6..6675f15a5 100644
--- a/browserid/static/dialog/views/authenticate.ejs
+++ b/browserid/static/dialog/views/authenticate.ejs
@@ -33,24 +33,23 @@
                         </div>
                     </li>
 
-                    <li>
+                    <li id="hint_section" class="start">
+                        <p>Enter your email address to sign in to <strong><%= sitename %></strong></p>
+                    </li>
 
-                        <div id="password_section" class="returning">
-                            <label for="password" class="half serif">Password</label>
-                            <div class="half right">
-                                <a id="forgotPassword" href="#">forgot your password?</a>
-                            </div>
-                            <input id="password" class="sans" type="password" maxlength="80">
-                        </div>
+                    <li id="create_text_section" class="newuser">
+                        <p><strong>Welcome to BrowserID!</strong></p>
+                        <p>This email looks new, so let's get you set up.</p>
+                    </li>
 
-                        <div id="hint_section" class="start">
-                            <p>Enter your email address to sign in to <strong><%= sitename %></strong></p>
-                        </div>
+                    <li id="password_section" class="returning">
 
-                        <div id="create_text_section" class="newuser">
-                            <p><strong>Welcome to BrowserID!</strong></p>
-                            <p>This email looks new, so let's get you set up.</p>
+                        <label for="password" class="half serif">Password</label>
+                        <div class="half right">
+                            <a id="forgotPassword" href="#">forgot your password?</a>
                         </div>
+                        <input id="password" class="sans" type="password" maxlength="80">
+
 
                         <div id="password_required" class="tooltip" for="password">
                           The password field is required.
-- 
GitLab