Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. <!-- Page Content -->
  2. <div class="container">
  3. <div class="row col-sm-9 col-sm-offset-1" lu-busy="form">
  4. <form name="form" ng-submit="submit()" class="form-horizontal">
  5. <div class="form-group">
  6. <label for="email" class="col-sm-2 control-label">Email</label>
  7. <div class="col-sm-9">
  8. <input id="email" class="form-control" ng-model="user.Email" lu-enable-permission="LU_USER_EDIT_ME"/>
  9. </div>
  10. </div>
  11. <div class="form-group">
  12. <label for="firstname" class="col-sm-2 control-label">Firstname</label>
  13. <div class="col-sm-9">
  14. <input id="firstname" class="form-control" ng-model="user.Firstname" lu-enable-permission="LU_USER_EDIT_ME"/>
  15. </div>
  16. </div>
  17. <div class="form-group">
  18. <label for="lastname" class="col-sm-2 control-label">Lastname</label>
  19. <div class="col-sm-9">
  20. <input id="lastname" class="form-control" ng-model="user.Lastname" lu-enable-permission="LU_USER_EDIT_ME"/>
  21. </div>
  22. </div>
  23. <div lu-show-permission="LU_USER_SET_PASSWORD_ME">
  24. <div class="form-group">
  25. <label for="oldPassword" class="col-sm-2 control-label">Old Password</label>
  26. <div class="col-sm-9">
  27. <input id="oldPassword" class="form-control" type="password" ng-model="userPassword.old"
  28. name="oldPassword"/>
  29. </div>
  30. </div>
  31. <div class="form-group">
  32. <label for="password" class="col-sm-2 control-label">New Password</label>
  33. <div class="col-sm-9">
  34. <input id="password" class="form-control" type="password" ng-model="userPassword.value"
  35. name="password" ui-validate="passwordValidation"/>
  36. </div>
  37. </div>
  38. <div class="form-group">
  39. <label for="password2" class="col-sm-2 control-label">Confirmation</label>
  40. <div class="col-sm-9">
  41. <input id="password2" class="form-control" type="password" ng-model="userPassword.confirm"
  42. name="password2" ui-validate="password2Validation" ui-validate-watch="'userPassword.value'"/>
  43. </div>
  44. </div>
  45. <div class="col-sm-offset-2 col-sm-9">
  46. <p class="error" ng-show="form.password.$error.length">Passwords is too short</p>
  47. <p class="error" ng-show="form.password2.$error.same_passwords">Passwords do not match</p>
  48. </div>
  49. </div>
  50. <div class="form-group">
  51. <div class="col-sm-9 col-sm-offset-2">
  52. <button class="btn btn-primary btn-block">Edit</button>
  53. </div>
  54. </div>
  55. </form>
  56. </div>
  57. </div>