Advertisement
lucasgautheron

Untitled

Jun 19th, 2011
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.87 KB | None | 0 0
  1. {include file='header.html' page_title='Register'}
  2. <h1>Register</h1>
  3. {if $saved}
  4. <p>You were registered successfully. You can now <a href="/login/">log in</a>.</p>
  5. {else}
  6. {if $submitted}
  7. <p>Registration failed. Please check the following problem(s) :</p>
  8. <ul>
  9. {foreach $errors as $error}
  10. <li>{$error}</li>
  11. {/foreach}
  12. </ul>
  13. {/if}
  14. <form method="POST">
  15. <p><input type="text" name="name" /> Login</p>
  16. <p><input type="text" name="email" /> Email</p>
  17. <p><input type="password" name="password" /> Password</p>
  18. <p><input type="password" name="password_confirm" /> Confirm password</p>
  19. <p><input type="text" name="captcha" /> Captcha code (Copy out the characters from the picture).</p>
  20. <p><img src="/captcha/" /></p>
  21. <p><input type="submit" value="Register" /></p>
  22. </form>
  23. {/if}
  24. {include file='footer.html'}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement