17 {% endblock scripts %} |
17 {% endblock scripts %} |
18 |
18 |
19 {% block body %} |
19 {% block body %} |
20 <form id="login-form" action="#" method="POST"> |
20 <form id="login-form" action="#" method="POST"> |
21 <fieldset> |
21 <fieldset> |
22 |
22 {% if created %} |
23 <legend>Log in</legend> |
23 <p>Your account has been created and an Email confirming your |
24 <label for="login">Email</label> |
24 password has been sent to you.<a href="/login">Click Here</a> to login.</p> |
25 <input type="text" id="login" name="username"/> |
25 {% else %} |
26 <div class="clear"></div> |
26 <legend>Log in</legend> |
27 |
27 <label for="login">Email</label> |
28 <label for="password">Password</label> |
28 <input type="text" id="login" name="username"/> |
29 <input type="password" id="password" name="password"/> |
29 <div class="clear"></div> |
30 <div class="clear"></div> |
|
31 |
30 |
32 <label for="confirmpassword">Password</label> |
31 <label for="password">Password</label> |
33 <input type="password" id="confirmpassword" name="confirmpassword"/> |
32 <input type="password" id="password" name="password"/> |
34 <div class="clear"></div> |
33 <div class="clear"></div> |
35 <br /> |
34 |
36 <input type="submit" style="margin: -20px 0 0 287px;" class="button" name="Create" value="Create"/> |
35 <label for="confirmpassword">ConfirmPassword</label> |
|
36 <input type="password" id="confirmpassword" name="confirmpassword"/> |
|
37 <div class="clear"></div> |
|
38 <br /> |
|
39 <input type="submit" style="margin: -20px 0 0 287px;" class="button" name="Create" value="Create"/> |
|
40 {% endif %} |
37 </fieldset> |
41 </fieldset> |
38 </form> |
42 </form> |
39 <div class='hidden' style="display: none;"> |
43 <div class='hidden' style="display: none;"> |
40 <p><a id="inline" href="#"></a></p> |
44 <p><a id="inline" href="#"></a></p> |
41 <div id='message' style='padding:10px; background:#fff;'> |
45 <div id='message' style='padding:10px; background:#fff;'> |