You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

48 lines
2.4 KiB

10 years ago
10 years ago
  1. {{template "base/head" .}}
  2. {{template "base/navbar" .}}
  3. <div id="body" class="container" data-page="user">
  4. {{template "user/setting_nav" .}}
  5. <div id="user-setting-container" class="col-md-10">
  6. {{template "base/alert" .}}
  7. <div class="panel panel-default">
  8. <div class="panel-heading">
  9. Password
  10. </div>
  11. <div class="panel-body">
  12. <div class="col-md-8">
  13. <form class="form-horizontal" id="password-form" method="post" action="/user/settings/password">
  14. {{.CsrfTokenHtml}}
  15. <div class="form-group">
  16. <label class="col-md-3 control-label">Old Password<strong class="text-danger">*</strong></label>
  17. <div class="col-md-7">
  18. <input type="password" name="oldpasswd" class="form-control" placeholder="Type your current password" required="required">
  19. </div>
  20. </div>
  21. <div class="form-group">
  22. <label class="col-md-3 control-label">New Password<strong class="text-danger">*</strong></label>
  23. <div class="col-md-7">
  24. <input type="password" name="newpasswd" class="form-control" placeholder="Type your new password" required="required">
  25. </div>
  26. </div>
  27. <div class="form-group">
  28. <label class="col-md-3 control-label">Re-Type<strong class="text-danger">*</strong></label>
  29. <div class="col-md-7">
  30. <input type="password" name="retypepasswd" class="form-control" placeholder="Re-type your new password" required="required">
  31. </div>
  32. </div>
  33. <div class="form-group">
  34. <div class="col-md-offset-3 col-md-7">
  35. <button type="submit" class="btn btn-primary">Change Password</button>&nbsp;&nbsp;
  36. <a href="/user/forget_password/">Forgot your password?</a>
  37. </div>
  38. </div>
  39. </form>
  40. </div>
  41. </div>
  42. </div>
  43. </div>
  44. </div>
  45. {{template "base/footer" .}}