password.blade.php 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. @extends('home.user.frame')
  2. @section('main')
  3. <form method="post" id="form_submit">
  4. {{ csrf_field() }}
  5. <table class="form-input" style="width: 320px !important;">
  6. <tr>
  7. <th></th>
  8. <th class="user-form-title">修改登录密码</th>
  9. </tr>
  10. <tr>
  11. <td class="width-100">
  12. <i>*</i><label for="name" id="label_old_password">原密码</label>:
  13. </td>
  14. <td>
  15. <input type="password" maxlength="16" placeholder="请输入现账号密码" id="old_password" name="old_password" value="{{ old('name') }}" required="required" autofocus="autofocus" />
  16. </td>
  17. </tr>
  18. <tr>
  19. <td></td>
  20. <td class="padding-b10">
  21. <span class="red" id="error_old_password">
  22. @if ($errors->has('old_password'))
  23. {{ $errors->first('old_password') }}
  24. @endif
  25. &nbsp;
  26. </span>
  27. </td>
  28. </tr>
  29. <tr>
  30. <td>
  31. <i>*</i><label for="password" id="label_password">登录密码</label>:
  32. </td>
  33. <td>
  34. <input type="password" maxlength="16" placeholder="请设置您的新登录密码" id="password" name="password" required="required" />
  35. </td>
  36. </tr>
  37. <tr>
  38. <td></td>
  39. <td class="padding-b10">
  40. <span class="red" id="error_password">
  41. @if ($errors->has('password'))
  42. {{ $errors->first('password') }}
  43. @endif
  44. &nbsp;
  45. </span>
  46. </td>
  47. </tr>
  48. <tr>
  49. <td>
  50. <i>*</i><label for="password2" id="label_password2">确认密码</label>:
  51. </td>
  52. <td>
  53. <input type="password" maxlength="16" placeholder="请再次输入新登录密码" id="password2" name="password_confirmation" required="required" />
  54. </td>
  55. </tr>
  56. <tr>
  57. <td></td>
  58. <td class="padding-b10">
  59. <span class="red" id="error_password2">
  60. &nbsp;
  61. </span>
  62. </td>
  63. </tr>
  64. <tr>
  65. <td></td>
  66. <td>
  67. <button id="btn_submit" type="text" value="修改密码">确定</button>
  68. </td>
  69. </tr>
  70. </table>
  71. </form>
  72. @stop
  73. @section('javascript')
  74. <script src="{{ asset('js/val_user.js') }}"></script>
  75. @stop