Elisée Maurer  committed d24c7d3

Display sign up form by default instead of log in form

  • Participants
  • Parent commits 3d7651f

Comments (0)

Files changed (3)

File media/css/login.css

     text-align: right;
-#SignUpButton, #PasswordConfirmTr, #AlreadyHaveAnAccountLink, #FormStatus {
+#NoAccountYetLink, #FormStatus {
     display: none;

File media/js/login.js

        We might want to break the whole thing into 2 separate forms
        later on */
-    $('#MainForm').submit( doLogin );
+    $('#MainForm').submit( doSignUp );
 } );

File templates/login.html

                     <tr id="PasswordConfirmTr">
                         <th><label for="PasswordConfirm">Password (again):</label></th>
-                        <td><input type="password" name="PasswordConfirm" id="PasswordConfirm" disabled="disabled" /></td>
+                        <td><input type="password" name="PasswordConfirm" id="PasswordConfirm" /></td>
                     <tr id="FormStatus">
                         <td colspan="2" id="FormStatusText">
                             <a id="NoAccountYetLink" href="#" onclick="displaySignUpForm()">I don't have an account yet</a>
                             <a id="AlreadyHaveAnAccountLink" href="#" onclick="hideSignUpForm()">I already have an account</a>
-                            <input type="submit" id="FormSubmitButton" value="Log in" />
+                            <input type="submit" id="FormSubmitButton" value="Sign up" />