app/templates/projrev/auth/create_account.html
changeset 18 05b9e60e6a10
parent 10 393d0030945b
--- a/app/templates/projrev/auth/create_account.html	Fri Aug 07 04:13:53 2009 +0530
+++ b/app/templates/projrev/auth/create_account.html	Sat Aug 08 23:54:36 2009 +0530
@@ -19,21 +19,25 @@
 {% block body %}
   <form id="login-form" action="#" method="POST">
     <fieldset>
-    
-      <legend>Log in</legend>
-      <label for="login">Email</label>
-      <input type="text" id="login" name="username"/>
-      <div class="clear"></div>
-      
-      <label for="password">Password</label>
-      <input type="password" id="password" name="password"/>
-      <div class="clear"></div>
+      {% if created %}
+      <p>Your account has been created and an Email confirming your 
+      password has been sent to you.<a href="/login">Click Here</a> to login.</p>
+      {% else %}
+        <legend>Log in</legend>
+        <label for="login">Email</label>
+        <input type="text" id="login" name="username"/>
+        <div class="clear"></div>
 
-      <label for="confirmpassword">Password</label>
-      <input type="password" id="confirmpassword" name="confirmpassword"/>
-      <div class="clear"></div>
-      <br />
-      <input type="submit" style="margin: -20px 0 0 287px;" class="button" name="Create" value="Create"/> 
+        <label for="password">Password</label>
+        <input type="password" id="password" name="password"/>
+        <div class="clear"></div>
+
+        <label for="confirmpassword">ConfirmPassword</label>
+        <input type="password" id="confirmpassword" name="confirmpassword"/>
+        <div class="clear"></div>
+        <br />
+        <input type="submit" style="margin: -20px 0 0 287px;" class="button" name="Create" value="Create"/>
+      {% endif %} 
     </fieldset>
   </form>
   <div class='hidden' style="display: none;">