register.template.html 517 B

12345678910111213141516171819202122232425
  1. <h1>
  2. {{title}}
  3. </h1>
  4. <form id="login">
  5. <div>
  6. Email: <input name="email" type="text"/>
  7. </div>
  8. <div>
  9. Username: <input name="username" type="text"/>
  10. </div>
  11. <div>
  12. Password: <input name="password" type="password"/>
  13. </div>
  14. <input type="submit" value="register"/>
  15. <input type="button" value="cancel" class="cancel"/>
  16. </form>
  17. <script>
  18. $('#login').submit(function(){
  19. // TODO - Handle register
  20. return false;
  21. }).children('.cancel').click(function(){
  22. loadState('page-index');
  23. return false;
  24. });
  25. </script>