Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

signup.html 2.2KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. <div layout="column" layout-fill layout-align="top center">
  2. <h1>Sign Up</h1>
  3. <div class="col-xs-4">
  4. <form ng-submit="signUp()">
  5. <div>
  6. <md-input-container class="col-xs-12">
  7. <label for="username">Username</label>
  8. <input name="username" id="username" type="text" ng-model="user.Username" required>
  9. </md-input-container>
  10. </div>
  11. <div>
  12. <md-input-container class="col-xs-12">
  13. <label for="firstname">First name</label>
  14. <input name="firstname" id="firstname" type="text" ng-model="user.Firstname" required>
  15. </md-input-container>
  16. </div>
  17. <div>
  18. <md-input-container class="col-xs-12">
  19. <label for="lastname">Last name</label>
  20. <input name="lastname" id="lastname" type="text" ng-model="user.Lastname" required>
  21. </md-input-container>
  22. </div>
  23. <div>
  24. <md-input-container class="col-xs-12">
  25. <label for="email">Email</label>
  26. <input name="email" id="email" type="text" ng-model="user.Email" required>
  27. </md-input-container>
  28. </div>
  29. <div>
  30. <md-input-container class="col-xs-12">
  31. <label for="password1">Password</label>
  32. <input name="password1" id="password1" type="password" ng-model="user.Passwords.Password1" required>
  33. </md-input-container>
  34. </div>
  35. <div>
  36. <md-input-container class="col-xs-12">
  37. <label for="password2">Password confirmation</label>
  38. <input name="password2" id="password2" type="password" ng-model="user.Passwords.Password2" required>
  39. </md-input-container>
  40. </div>
  41. <div class="col-xs-10 col-xs-offset-1">
  42. <md-button class="col-xs-12" type="submit">Sign Up!</md-button>
  43. </div>
  44. </form>
  45. <div class="clearfix"></div>
  46. <div ng-hide="error == null" class="error-message text-center">
  47. {{ error.Data }}
  48. </div>
  49. </div>
  50. </div>